3 ms·
I think I looked at this when I laid it out: https://ux.stackexchange.com/questions/9105/international-currency-formatting-guidelines-currency-codes https://ux
by hirundo 3y ago
I think I looked at this when I laid it out:
https://ux.stackexchange.com/questions/9105/international-currency-formatting-guidelines-currency-codes https://ux.stackexchange.com/questions/9105/international-cu...
So we put the ISO code at the end and ignore whitespace. But including a prefix sign as with `€1.234.567,89 EUR` would break it.
- hermitdev 3y agoYou also included localized formatting (the '.' and ',' ) in your example that'll likely break on parsing without special handling. For interchange, you'll want to avoid using localized formats, e.g. stick to the "C" locale or something specific or agreed to between the involved parties.