how to add comma in string in jquery 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