You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How can I set the decimal and grouping separator symbols in the number format config?
In the documentation, it says that the number format is based on the options ECMA-402 Intl.NumberFormat.
According to this there should be a groupSepSymbol and decimalSepSymbol to use when the number should be formatted with grouping and fraction.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
How can I set the decimal and grouping separator symbols in the number format config?
In the documentation, it says that the number format is based on the options ECMA-402 Intl.NumberFormat.
According to this there should be a
groupSepSymbol
anddecimalSepSymbol
to use when the number should be formatted with grouping and fraction.I tried setting them like:
However, this didn't change the default formatting for
en
(which uses ',' for grouping and '.' for decimals ).Beta Was this translation helpful? Give feedback.
All reactions