From 09329a158bb0a194fccd20895a803f8dc31890c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Sun, 8 Sep 2019 18:45:39 +0200 Subject: [PATCH] Dont use SI Prefixes for part amounts without unit. --- src/Services/AmountFormatter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Services/AmountFormatter.php b/src/Services/AmountFormatter.php index 3024a5a4..0265b3bd 100644 --- a/src/Services/AmountFormatter.php +++ b/src/Services/AmountFormatter.php @@ -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) {