Constructor
new module:br-formatting /Localised Amount Formatter()
- Implements:
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:
Returns:
the tokenized amount.