anyamount - tiny Intl number formatter for any locale
any
amount
anyamount
(
, {
mode:
"smart"
"currency"
"unit"
,
locale:
"en"
"ru"
"ja"
"ar"
"hi"
"pt-BR"
"sr-Latn-RS"
})
compact for big numbers, plain for small
1234567
10000
9999
42
0.1234
-3.5
output
what your users see
result