how to add commas in numbers html code example
Example: jquery number format comma
var number = 1557564534;
document.body.innerHTML = number.toLocaleString();
// 1,557,564,534
var number = 1557564534;
document.body.innerHTML = number.toLocaleString();
// 1,557,564,534