Constructor
new module:br/formatting/ThousandsFormatter()
- 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 -
toString()
-
Returns a human-readable string representation of the object, which is useful for debugging.
- Implements:
Returns:
The string representation