Big Numbers, No Worries: JavaScript Format Number With Commas
Briefly

Isn't it awesome how the toLocaleString() method can make numbers look nicer? It adds commas automatically, so you don't have to worry about counting digits.
You can also customize how the number is formatted with the options parameter. This is an object that lets you choose things like how many decimal places you want, what currency symbol to use, and what style of number you need.
Read at Medium
[
add
]
[
|
|
]