JavaScript culture sensitive currency formatting


How can i format currency related data in a manner that is culture aware in JavaScript?

Best Solution

Dojo has a currency formatter that's locale aware.

If you don't want to include Dojo in your project just for this function, then perhaps you can localize the currency in your back-end?