Constructor
new module:br/formatting/LocalisedAmountFormatter()
- Implements:
- Source:
Methods
-
format(vValue, mAttributes)
-
Formats a number into an localised string representation.
Parameters:
Name Type Description vValue
Variant the numeric amount (Number type). if a string is passed it is returned unchanged. mAttributes
Map a list of attributes, as specified here and in. dp: number of decinal places to be displayed. Rounding occurs according to standard javascript behaviour. - Implements:
- Source:
Returns:
the tokenized amount.