The constants provided by the CurrencyFormat class are listed in the following table.
Constant | Integer Value | Example |
---|---|---|
NegCurrLeadSignTrailSpSymbol | 8 | -10.25 $ (space before $) |
NegCurrLeadSignTrailingSymbol | 5 | -10.25$ |
NegCurrLeadSymbolSpSign | 12 | $ -10.25 (space after $) |
NegCurrLeadSymbolSpTrailSign | 11 | $ 10.25- (space after $) |
NegCurrLeadSymbolTrailingSign | 3 | $10.25- |
NegCurrLeadingSignSymbol | 1 | -$10.25 |
NegCurrLeadingSignSymbolSp | 9 | -$ 10.25 (space after $) |
NegCurrLeadingSymbolBrackets | 0 | ($10.25) |
NegCurrLeadingSymbolSign | 2 | $-10.25 |
NegCurrLeadingSymbolSpBrackets | 14 | ($ 10.25) (space after $) |
NegCurrTrailSpSymbolBrackets | 15 | (10.25 $) (space before $) |
NegCurrTrailingSignSpSymbol | 13 | 10.25- $ (space before $) |
NegCurrTrailingSignSymbol | 6 | 10.25-$ |
NegCurrTrailingSpSymbolSign | 10 | 10.25 $- (space before $) |
NegCurrTrailingSymbolBrackets | 4 | (10.25$) |
NegCurrTrailingSymbolSign | 7 | 10.25$- |
PosCurrLeadingSymbol | 0 | $10.25 |
PosCurrLeadingSymbolSpace | 2 | $ 10.25 (space after $) |
PosCurrTrailingSpaceSymbol | 3 | 10.25 $ (space before $) |
PosCurrTrailingSymbol | 1 | 10.25$ |