NumberFormat Properties

The properties defined in the NumberFormat class are summarized in the following table.

Property Description
decimalPlaces Contains the number of digits to the right of the decimal separator
decimalSeparator Contains the character used to separate the integer and fractional parts of numbers
groupings Contains the size for each group of digits to the left of the decimal
negativeFormat Contains the negative number format
negativeSign Contains the string used to represent the negative sign
positiveSign Contains the string used to represent the positive sign
showLeadingZeros Specifies if zero (0) is displayed in front of a number that is less than 1
thousandSeparator Contains the character used to separate groups of digits left of the decimal separator