w2utils.formatNumber

Formats a number adding commas.
w2utils.formatNumber(val)
val string or number, a number to format
The val argument can be an integer, float on in money format. The method will add commas after each there digits

User Comments

comments powered by Disqus