DataType.Number.format()
The Number module of the DataType Utility allows you to take a number and format it into a string with the following configuration parameters:
decimalPlaces
,
decimalSeparator
,
thousandsSeparator
,
prefix
, and
suffix
.
Number to format:
Thousands separator:
Decimal separator:
Decimal places:
Prefix:
Suffix:
: