formatCurrency
function, since version 1.0.0
categories: currency, converting
formatCurrency(input)
Formats input currency value to string. Current output format is value round to 2 decimal points followed by currency ISO code, ie: 12.45 EUR
parameters
- input: currency - currency input operand
note: this function will be extended in the future to actually specify format
return type:
string