Internal
Optional
digitThe digit separator, if specified, will be places between every digit without a grouping separator.
''
Optional
fractionThe fraction pad character, padding the right side of the fraction.
By default the specified digit for zero is used, but could also be a ' '
space char for example.
null
Optional
groupingThe grouping length, the distance between grouping separators, e.g. with a length of 2: 1,00,00,00
.
3
Optional
groupingThe grouping separator, such as the commas in 100,000,000
.
','
Optional
integerThe integer pad character, padding the left side of the integer.
By default the specified digit for zero is used,
but could also be a ' '
space char for example.
null
Optional
minimumThe minimum fraction. A value with a smaller fraction length than this number will be right-padded with zeros.
0
Optional
minimumThe minimum integer length. A value with a smaller number of integer digits than this number will be left-padded with zeros or the specified integer pad character.
0
Optional
negativeThe negative sign.
'-'
Optional
positiveThe positive sign.
'+'
Optional
radixThe radix character, or "decimal" point/mark/separator, such as the point in 0.5
).
'.'
Optional
radixWhen to display the radix character.
'auto'
Optional
scientificThe scientific notation character, such as the e
in 1.342e3
.
'e'
Optional
signWhen to display the sign.
'auto'
Optional
useWhen numbers are to be grouped.
false
Generated using TypeDoc
The options specifically to the
BaseFormatter
class.