Update extrafields.class.php

This commit is contained in:
fbosman 2019-06-28 07:10:28 +02:00 committed by GitHub
parent af83d8836a
commit f44203775a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1645,7 +1645,10 @@ class ExtraFields
elseif ($type == 'double')
{
if (!empty($value)) {
$value=price($value);
// $value=price($value);
$sizeparts = explode(",",$size);
$number_decimals = $sizeparts[1];
$value=price($value, 0, $langs, 0, 0, $number_decimals, '');
}
}
elseif ($type == 'boolean')