This topic has not yet been rated - Rate this topic

# LOCALE_INEG* Constants

This topic defines the LOCALE_INEG* constants used by NLS.

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

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

LOCALE_INEGSEPBYSPACESeparation 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.
ValueMeaning
0Parentheses surround the amount and the monetary symbol.
1The sign precedes the number.
2The sign follows the number.
3The sign precedes the monetary symbol.
4The sign follows the monetary symbol.

LOCALE_INEGSYMPRECEDESPosition 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.