This link appeared in WDRL 163 on .
format-num.js…or ES6!
If you need to deal with different currency formats, it’s likely that some third-party library is in place. A powerful tool that can handle most conversions really well is toLocaleString.
This project is not maintained anymore. You can still view and search the archives.
Hi, I’m Anselm Hannemann, a freelance Frontend Developer and Engineering Manager. You can hire me. I wrote WDRL for 10 years and have a a Market Garden as a side-business.
This link appeared in WDRL 163 on .
If you need to deal with different currency formats, it’s likely that some third-party library is in place. A powerful tool that can handle most conversions really well is toLocaleString.