Slapdash
josh
I18n
I18n
Numbers
Currency is expected to be formatted not based on the currency chosen, but based on the user’s locale
Formatting in JS:
Intl.NumberFormat
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat
Parsing in JS: not built-in.
globalize
might be the best option, but it has limited locales:
https://github.com/globalizejs/globalize#numberparser-options-