rbf_formatCurrency()
Purpose
Formats a given number into a currency string.
Syntax
rbf_formatCurrency(value, currSymbol, showZero, decPlaces, thsSep)
Parameters
value
The number to format
currSymbol
currency symbol ($ by default)
showZero
If true, empty and NaN values are treated as "$0.00", otherwise as
empty string ""
decPlaces
The number of decimal places (2 by default)
thsSep
The thousands separator (, by default)
Note: This API is supported in portals as well.