NumberFormat Class Constants

The constants provided by the NumberFormat class are listed in the following table.

Constant Integer Value Example
NegNumBrackets 0 (10.25)
NegNumLeadingSign 1 -10.25
NegNumLeadingSignSpace 2 - 10.25 (note the space after -)
NegNumTrailingSign 3 10.25-
NegNumTrailingSpaceSign 4 10.25 - (note the space before -)