commas for thousands js
var number = 3500;
console.log(new Intl.NumberFormat().format(number));
// → '3,500' if in US English locale
Are there any code examples left?
New code examples in category Javascript
var number = 3500;
console.log(new Intl.NumberFormat().format(number));
// → '3,500' if in US English locale