-
Hi, I'm having a problem with the thousands sepator when the number is between 1000 and 9999. I'm using 2 locales, english and spanish. I'm using the FormattedMessage component this way:
Seems like the FomattedMessage component formats numbers passed as values by default, so if I want to modify the formatting options I have to use the formatNumber function? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
This is the correct behavior. CLDR data for Unicode Spec: https://unicode.org/reports/tr35/tr35-numbers.html#Special_Pattern_Characters |
Beta Was this translation helpful? Give feedback.
This is the correct behavior. CLDR data for
es
specifies thatminimumGroupingDigits
is2
instead of1
likeen
. So it will only group for numbers above 9999.Unicode Spec: https://unicode.org/reports/tr35/tr35-numbers.html#Special_Pattern_Characters