We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea16687 commit 8a4d966Copy full SHA for 8a4d966
lib/internal/Magento/Framework/Locale/Format.php
@@ -99,7 +99,10 @@ public function getPriceFormat($localeCode = null, $currencyCode = null)
99
$currency = $this->_scopeResolver->getScope()->getCurrentCurrency();
100
}
101
102
- $formatter = new \NumberFormatter($localeCode . '@currency=' . $currency->getCode(), \NumberFormatter::CURRENCY);
+ $formatter = new \NumberFormatter(
103
+ $localeCode . '@currency=' . $currency->getCode(),
104
+ \NumberFormatter::CURRENCY
105
+ );
106
$format = $formatter->getPattern();
107
$decimalSymbol = $formatter->getSymbol(\NumberFormatter::DECIMAL_SEPARATOR_SYMBOL);
108
$groupSymbol = $formatter->getSymbol(\NumberFormatter::GROUPING_SEPARATOR_SYMBOL);
0 commit comments