Formats a number adding commas.
formatNumber(val, [groupSymbol])
val string or number, a number to format
groupSymbol string, a group delimeter (default is comma)
The val argument can be an integer, float on in money format. The method will add commas (or whatever groupSymbol you defined) after each there digits.