SyntaxFix
Write A Post
Hire A Developer
Questions
var formatter = new Intl.NumberFormat("ru", { style: "currency", currency: "GBP" }); alert( formatter.format(1234.5) ); // 1 234,5 £
https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/NumberFormat