mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-29 05:00:43 +10:00
JPY was configured wrongly: it doesn't use subunits
This commit is contained in:
parent
1e4c26ac77
commit
d6545edc25
2 changed files with 3 additions and 1 deletions
|
|
@ -78,6 +78,8 @@ const currencyConfig = {
|
|||
currency,
|
||||
currencyDisplay: 'symbol',
|
||||
useGrouping: true,
|
||||
// Note: you should change fraction digits to 0,
|
||||
// if the currency is not using subunits (like JPY).
|
||||
minimumFractionDigits: 2,
|
||||
maximumFractionDigits: 2,
|
||||
};
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ export const subUnitDivisors = {
|
|||
AUD: 100,
|
||||
CAD: 100,
|
||||
DKK: 100,
|
||||
JPY: 100,
|
||||
JPY: 1,
|
||||
SGD: 100,
|
||||
SEK: 100,
|
||||
CHF: 100,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue