This function formats a number.
Formatted number string
Number to be formatted
Number of decimal places to display
Optional
Default value
This function formats a number.
Returns
Formatted number string