Skip to content

Commit

Permalink
Update extrafields.class.php
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Jun 28, 2019
1 parent 511be75 commit ff7ae5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions htdocs/core/class/extrafields.class.php
Expand Up @@ -1645,8 +1645,8 @@ public function showOutputField($key, $value, $moreparam = '', $extrafieldsobjec
elseif ($type == 'double')
{
if (!empty($value)) {
// $value=price($value);
$sizeparts = explode(",",$size);
//$value=price($value);
$sizeparts = explode(",", $size);
$number_decimals = $sizeparts[1];
$value=price($value, 0, $langs, 0, 0, $number_decimals, '');
}
Expand Down

0 comments on commit ff7ae5e

Please sign in to comment.