Specify the name of an existing locale which is used as the definition of this category. If this keyword is specified, no other keyword is specified.

This is a localedef utility keyword, unavailable through localeconv().

int_curr_symbol international currency symbol. a four-character string,
The first three characters containing the alphabetic international currency symbol. in accordance with ISO 4217 .
The fourth character separates the international currency symbol from the monetary quantity.
currency_symbol string as the local currency symbol.
mon_decimal_point string containing the decimal delimiter (radix character) in monetary formatted quantities.
mon_thousands_sep string containing a separator for groups of digits to the left of the decimal delimiter in formatted quantities.
mon_grouping size of each group of digits, a sequence of integers separated by ; . Each integer is the number of digits in each group, with the initial integer defining the size of the group immediately preceding the decimal delimiter, and the following integers are the preceding groups.
If the last integer is not -1, then the size of the previous group (if any) is repeatedly used for the remainder of the digits.
If the last integer is -1, then no further grouping is performed.
positive_sign string for positive
negative_sign string for negative
int_frac_digits An integer of the number of fractional digits (right of the decimal delimiter) using int_curr_symbol.
frac_digits An integer for the number of fractional digits (right of the decimal delimiter) using currency_symbol.
p_cs_precedes 1 if the currency_symbol precedes the value positive value, and
0 if the symbol succeeds the value.
p_sep_by_space a value the separation of the currency_symbol, the sign string, and the value for a non-negative formatted monetary quantity. The values of p_sep_by_space, n_sep_by_space, int_p_sep_by_space, and int_n_sep_by_space are interpreted as:
0 No space separates the currency symbol and value.
1 If the currency symbol and sign string are adjacent, a space separates them from the value; otherwise, a space separates the currency symbol from the value.
2 If the currency symbol and sign string are adjacent, a space separates them; otherwise, a space separates the sign string from the value.
n_cs_precedes 1 the currency_symbol precedes a negative value,
0 if the symbol succeeds the value.
n_sep_by_space separation of the currency_symbol, the sign string, and the value for a negative quantity.
p_sign_posn a value for the positioning of the positive_sign int_n_sign_posn, int_p_sign_posn, n_sign_posn, and p_sign_posn:
0 Parentheses enclose the quantity and the currency_symbol.
1 sign precedes the quantity and the currency_symbol.
2 sign succeeds the quantity and the currency_symbol.
3 sign precedes the currency_symbol.
4 sign succeeds the currency_symbol.
n_sign_posn positioning of the negative_sign
int_p_cs_precedes 1 int_curr_symbol precedes the negative ,
0 if the symbol succeeds the value.
int_n_cs_precedes 1 int_curr_symbol precedes the negative value,
0 if the symbol succeeds the value.
int_p_sep_by_space separation of the int_curr_symbol, the sign string, and the value for a non-negative internationally
int_n_sep_by_space separation of the int_curr_symbol, the sign string, and the value for a negative internationally
int_p_sign_posn positioning of the positive_sign for a international format.
int_n_sign_posn positioning of the negative_sign for a international format.

LC_MONETARY Category in the POSIX Locale

The monetary formatting definitions for the POSIX locale follow; the code listing depicting the localedef input, the table representing the same information with the addition of localeconv() and nl_langinfo() formats. All values are unspecified in the POSIX locale.

LC_MONETARY
# This is the POSIX locale definition for
# the LC_MONETARY category.
#
int_curr_symbol      ""
currency_symbol      ""
mon_decimal_point    ""
mon_thousands_sep    ""
mon_grouping         -1
positive_sign        ""
negative_sign        ""
int_frac_digits      -1
frac_digits          -1
p_cs_precedes        -1
p_sep_by_space       -1
n_cs_precedes        -1
n_sep_by_space       -1
p_sign_posn          -1
n_sign_posn          -1
int_p_cs_precedes    -1
int_p_sep_by_space   -1
int_n_cs_precedes    -1
int_n_sep_by_space   -1
int_p_sign_posn      -1
int_n_sign_posn      -1