Retrieves the negative currency format for the current locale.
public int getNegativeCurrencyMode()
Returns an integer value that represents the negative currency format for the current locale.
The return value of this method can be one of the following values:
Value | Format |
0 | ($1.1) |
1 | -$1.1 |
2 | $-1.1 |
3 | $1.1- |
4 | (1.1$) |
5 | -1.1$ |
6 | 1.1-$ |
7 | 1.1$- |
8 | -1.1 $ (space before $) |
9 | -$ 1.1 (space after $) |
10 | 1.1 $- (space before $) |
11 | $ 1.1- (space after $) |
12 | $ -1.1 (space after $) |
13 | 1.1- $ (space before $) |
14 | ($ 1.1) (space after $) |
15 | (1.1 $) (space before $) |
See Also setNegativeCurrencyMode, getPositiveCurrencyMode, setPositiveCurrencyMode