globalizejs / globalizejs/globalize
possible to get the name of a currency
Open
question
- Dominant language
- JavaScript
- Stars
- 4.8k
- Forks
- 585
- PR merge metrics
- No merged PRs in 30d
Description
right now i'm doing this in order to get the pluralized name "US dollars":
Globalize.currencyFormatter('USD', {style:'name', minimumFractionDigits:0, maximumFractionDigits:0,})(2).replace('2','')
is there some simpler way?
Contributor guide
Assessment
This issue has not been assessed yet.