Type: Integer
The negativeFormat property of the NumberFormat class contains the negative number format.
The NumberFormat class constants that represent the format for negative numbers are listed in the following table.
NumberFormat Class 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 -) |