The LC_NUMERIC locale-file category
The LC_NUMERIC locale-file category is the section within a GLS locale file that defines the locale-specific formats for strings that contain numeric data.
Numeric data is considered to be all values that contain digits except monetary data. Therefore, integer, fixed-point, and floating-point numbers are all considered numeric data. Strings of numeric data are called number strings.
Tip: In the Informix® GLS User's
Guide,
the LC_NUMERIC locale-file category is sometimes referred to as the
NUMERIC locale category. This manual uses LC_NUMERIC as the category
name for numeric data.
The LC_NUMERIC category of each locale file contains subcategories
that define the different numeric formats for that locale. The following
table lists the numeric formats and their corresponding LC_NUMERIC
subcategory.
Numeric format | LC_NUMERIC subcategory |
---|---|
Numeric decimal separator | decimal_point |
Numeric thousands separator | thousands_sep |
Numeric grouping information (number of numeric digits to group together before inserting a thousands separator) | grouping |
Numeric positive sign | num_positive_sign |
Numeric negative sign | num_negative_sign |