Methods
format(vValue, mAttributes)
Formats the value to the specified number of decimal places.
Attribute Options:
Option | Description |
---|---|
dp | the number of decimal places to apply. |
Parameters:
Name | Type | Description |
---|---|---|
vValue |
Variant | the number (String or Number type). |
mAttributes |
Map | the map of attributes. |
- Implements:
Returns:
the number, formatted to the specified precision.