This function formats a value as currency
Number to be formatted
Number of decimal places to display
Optional
Default value
Formatted currency string
This function formats a value as currency