Namespace: number

bpmext. number

Text namespace containing numeric processing convenience functions

Methods

format(val, decimalPlaces, decimalSeparator, thousandsSeparator){string}

Returns the original number formatted as a string based on the formatting parameters
Name Type Description
val object number to be formatted
decimalPlaces object number of decimal numbers in the formatted number
decimalSeparator object character to use to separate the integer and the decimal parts
thousandsSeparator object character to use for thousands separator
Returns:
Type Description
string