Commit a71aba5d by halweg

fix format price bug

parent 88705ef2
......@@ -171,8 +171,10 @@ class Format implements \Magento\Framework\Locale\FormatInterface
'pattern' => $currency->getOutputFormat(),
'precision' => $totalPrecision,
'requiredPrecision' => $requiredPrecision,
'decimalSymbol' => $decimalSymbol,
'groupSymbol' => $groupSymbol,
/* 'decimalSymbol' => $decimalSymbol, 框架旧代码,这里有bug
'groupSymbol' => $groupSymbol,*/
'decimalSymbol' => '.',
'groupSymbol' => ',',
'groupLength' => $group,
'integerRequired' => $totalPrecision == 0,
];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment