Dont use SI Prefixes for part amounts without unit.

This commit is contained in:
Jan Böhmer 2019-09-08 18:45:39 +02:00
parent 243bc7b3c7
commit 09329a158b

View file

@ -58,7 +58,7 @@ class AmountFormatter
$unit = $options['measurement_unit'];
return $unit->isUseSIPrefix();
}
return true;
return false;
},
'is_integer' => function (Options $options) {
if ($options['measurement_unit'] !== null) {