Update extrafields.class.php

This commit is contained in:
Laurent Destailleur 2019-06-28 12:56:31 +02:00 committed by GitHub
parent 511be75fca
commit ff7ae5ef20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1645,8 +1645,8 @@ class ExtraFields
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, '');
}