LOCALE_INEG* Constants

This topic defines the LOCALE_INEG* constants used by NLS.

Value Meaning
LOCALE_INEGCURR Negative currency mode.
Mode Format for negative currency
0 Left parenthesis, monetary symbol, number, right parenthesis; for example, ($1.1)
1 Negative sign, monetary symbol, number; for example, -$1.1
2 Monetary symbol, negative sign, number; for example, $-1.1
3 Monetary symbol, number, negative sign; for example, $1.1-
4 Left parenthesis, number, monetary symbol, right parenthesis; for example, (1.1$)
5 Negative sign, number, monetary symbol; for example, -1.1$
6 Number, negative sign, monetary symbol; for example, 1.1-$
7 Number, monetary symbol, negative sign; for example, 1.1$-
8 Negative sign, number, space, monetary symbol (like #5, but with a space before the monetary symbol); for example, -1.1 $
9 Negative sign, monetary symbol, space, number (like #1, but with a space after the monetary symbol); for example, -$ 1.1
10 Number, space, monetary symbol, negative sign (like #7, but with a space before the monetary symbol); for example, 1.1 $-
11 Monetary symbol, space, number, negative sign (like #3, but with a space after the monetary symbol); for example, $ 1.1-
12 Monetary symbol, space, negative sign, number (like #2, but with a space after the monetary symbol); for example, $ -1.1
13 Number, negative sign, space, monetary symbol (like #6, but with a space before the monetary symbol); for example, 1.1- $
14 Left parenthesis, monetary symbol, space, number, right parenthesis (like #0, but with a space after the monetary symbol); for example, ($ 1.1)
15 Left parenthesis, number, space, monetary symbol, right parenthesis (like #4, but with a space before the monetary symbol); for example, (1.1 $)

 

LOCALE_INEGNUMBER Negative number mode, that is, the format for a negative number.
Value Format
0 Left parenthesis, number, right parenthesis; for example, (1.1)
1 Negative sign, number; for example, -1.1
2 Negative sign, space, number; for example, - 1.1
3 Number, negative sign; for example, 1.1-
4 Number, space, negative sign; for example, 1.1 -

 

LOCALE_INEGSEPBYSPACE Separation of the negative sign in a monetary value. This value is 1 if the monetary symbol is separated by a space from the negative amount, or 0 if it is not.
LOCALE_INEGSIGNPOSN Formatting index for the negative sign in currency values.
Value Meaning
0 Parentheses surround the amount and the monetary symbol.
1 The sign precedes the number.
2 The sign follows the number.
3 The sign precedes the monetary symbol.
4 The sign follows the monetary symbol.

 

LOCALE_INEGSYMPRECEDES Position of the monetary symbol in a negative monetary value. This value is 1 if the monetary symbol precedes the negative amount, or 0 if the symbol follows the amount.