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
I assume this is rather a bug instead of intended behaviour. Right now I can think of no use-case to split the number itself and a suffix in favour of a symbol of any kind.
All other formatting functions that use symbols ("%" for example) internally set "suffixing" to FALSE before calling fmt_symbol. But even if they'd apply suffixing, "2k %" would make more sense than "2 %k"
A number/currency overhaul needs to be done here. First, the short/compact numbers aren't localized. The currency symbol placement also isn't localized. The combination of this, a short/compact currency pattern also needs to be added. The data is available for all of this. For your specific example (in the "de" locale), this is what it should ideally look like:
Prework
Proposal
Currently,
Where the (German/European?) expectation would be something like
"1.00kEUR"
or"1.00TEUR"
(for thousands).Also strikes me that in some other contexts outside of currencies, you'd put the suffix before the unit, not after (milliampers,
"mA"
, not"Am"
).So it might be cool to let users customize this order.
The text was updated successfully, but these errors were encountered: