Constructor
new module:br-formatting /Thousands Formatter()
- Implements:
Methods
format(sValue, mAttributes)
Adds a separator character for each 'thousand' position in a number. eg 1000000 becomes 1,000,000
Parameters:
Name | Type | Description |
---|---|---|
sValue |
String | The field value |
mAttributes |
Map | The formatter attributes |
- Implements:
Returns:
The formatted value
to String()
Returns a human-readable string representation of the object, which is useful for debugging.
Returns:
The string representation