Formats a given number by inserting commas every three digits
Returns: {string} - The number formatted with commas.
{string}
Parameters: {number} - The number to be formatted.
{number}
commarize(55289640); //'55,289,640'
commarize(1540); //1,540
Last updated 1 year ago