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.
Optional
groupingThe grouping length, the distance between grouping separators, e.g.
with a length of 2: 1,00,00,00
.
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.
Optional
minimumThe minimum fraction. A value with a smaller fraction length than this number will be right-padded with zeros.
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.
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.
Optional
scientificThe scientific notation character, such as the e
in 1.342e3
.
Optional
signWhen to display the sign.
Optional
useWhen numbers are to be grouped.
The options specifically to the
BaseFormatter
class.