Constructor
new module:br/formatting/PercentFormatter()
- Implements:
Methods
-
format(vValue, mAttributes)
-
Converts a decimal number to a percentage.
Parameters:
Name Type Description vValue
Variant the decimal number (String or Number type). mAttributes
Map a list of attributes, as specified in module:br/formatting/RoundingFormatter
.- Implements:
Returns:
the number specified as a percentage.