Converts a decimal number into a generic currency value by effectively adding a generic currency symbol (¤), a decimal point, and one comma for every three digits preceding the decimal.
currency( number, [decimals] )
number: (Decimal) The number of currency units to be returned as text.
decimals: (Decimal) The number of digits after the decimal to display. 2 by default.
If no arguments are passed, the generic currency symbol itself (¤) is returned as text.
You can experiment with this function in the test box below.