Formatting does not work for Swiss Franc(locale used is fr-CH)
See original GitHub issue<currency-input currency="CHF" locale="fr-CH" />
When using the above configuration:
- It does not allow input of decimal digits.
- By default adds two zeroes at the end of input. (Eg: 2453(input) --> 245 300 CHF(output))
- Works correctly when precision is 0.
By digging online, I found that the decimal separator for fr-CH
currency is .
while the one used here is ,
. Can you help me with this?
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Formatting currencies to display in Switzerland for fr-CH locale
Based on this https://www.localeplanet.com/icu/fr-CH/index.html ... The decimal separator and the monitory decimal separators are different.
Read more >Locale-based forms - Internationalization
Most of the remainder of this wiki will focus on issues and requirements ... to use the French, Swiss or Canadian formats for...
Read more >Inconsistent currency symbol for Swiss Franc in Server 2012 ...
I'm working on international currency formatting, and came across a peculiar oddity in the currency symbols for the Swiss Franc.
Read more >ICU Locale “Swiss French” (fr_CH) - LocalePlanet
ICU Locale “Swiss French” (fr_CH). General Information ... Java Locale, fr-CH ... International currency symbol, CHF. Minus sign, -.
Read more >Formatting numbers (support for Swiss German locale)
Hello I have a problem with formatting my numbers in Swiss German (thousands are grouped with " ' " instead of " ,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Fixed in Release 1.19.1 🎉
I will look into this. In the meantime, you can use
locale="fr"
as a workaround.