From b9365cd8f378ed3d4b66dfb7da7342d18dbc9491 Mon Sep 17 00:00:00 2001 From: Thomas Zilio Date: Mon, 15 Oct 2018 14:29:19 +0200 Subject: [PATCH] Fix #328 --- src/Intl/Formatter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Intl/Formatter.php b/src/Intl/Formatter.php index 31ced6273..c13cb988b 100644 --- a/src/Intl/Formatter.php +++ b/src/Intl/Formatter.php @@ -167,7 +167,7 @@ class Formatter $value = $sign.$value; if (is_object($this->numberFormatter)) { - $result = $this->numberFormatter->parse($value); + $result = $this->numberFormatter->parse($value, NumberFormatter::PATTERN_DECIMAL); } else { $result = $this->customNumber($value, $this->getNumberSeparators(), self::getStandardFormats()['number']); }