# lconv - [Overview](#section1714470981165637) - [Summary](#section1987561679165637) - [Data Fields](#pub-attribs) - [Details](#section1738794711165637) - [Field](#section931934608165637) - [currency\_symbol](#af3657bb8bf2a83a868cdeb0b108ab921) - [decimal\_point](#a445e27fc7f797c8cca97b381f062fb60) - [frac\_digits](#aa16e32ff4dcc95445742b5b165ffb071) - [grouping](#a46e468755a823be50de20f36be5ff2be) - [int\_curr\_symbol](#abaeeafb02b68ba58c549458b196b9325) - [int\_frac\_digits](#a6b652f28cafc3092258b47c8099fe905) - [int\_n\_cs\_precedes](#a36121c68c5571e40145365dd1edecbb7) - [int\_n\_sep\_by\_space](#ad9cfa63e25f4a2aa02f6c7ca540177a2) - [int\_n\_sign\_posn](#a642a9096f724fad40fe9f1711e92b323) - [int\_p\_cs\_precedes](#a1a78cbc82f07601c2acb643f8dffdf64) - [int\_p\_sep\_by\_space](#ae77e798ef92e86d58100b16fb8163443) - [int\_p\_sign\_posn](#a266ed42f4bb087d1efac551940c42f6f) - [mon\_decimal\_point](#a1aa08afe707c1d5d40b4d01369176480) - [mon\_grouping](#a12ecf5d2f7ceb0cfe0f66fd3200eef54) - [mon\_thousands\_sep](#a4f04f4fd9ea670d21fc76fb5c77c032d) - [n\_cs\_precedes](#ad118b68a229527f7e96538ac875169ad) - [n\_sep\_by\_space](#ab7ac20ce034900155183b32fc3c6d9a3) - [n\_sign\_posn](#ae0bbe6f545952daef5a8cbdd054a184e) - [negative\_sign](#a40dbb1b1d7fdf4926145138f5d8f6f5f) - [p\_cs\_precedes](#af0651922c77fc926609bdd8746784e63) - [p\_sep\_by\_space](#a3ae3cb36f4426158e4ab2ea6dc4278ad) - [p\_sign\_posn](#a1fdead36abe5c2ca673142ea401478e8) - [positive\_sign](#a74bf5f6f32624be629f7de0dabd58a96) - [thousands\_sep](#aede8dfaac91d7b4e6b7fb0d96184d74d) ## **Overview** **Related Modules:** [IO](IO.md) **Description:** Indicates format information about a number. ## **Summary** ## Data Fields

Variable Name

Description

decimal_point

char *

thousands_sep

char *

grouping

char *

int_curr_symbol

char *

currency_symbol

char *

mon_decimal_point

char *

mon_thousands_sep

char *

mon_grouping

char *

positive_sign

char *

negative_sign

char *

int_frac_digits

char

frac_digits

char

p_cs_precedes

char

p_sep_by_space

char

n_cs_precedes

char

n_sep_by_space

char

p_sign_posn

char

n_sign_posn

char

int_p_cs_precedes

char

int_p_sep_by_space

char

int_n_cs_precedes

char

int_n_sep_by_space

char

int_p_sign_posn

char

int_n_sign_posn

char

## **Details** ## **Field ** ## currency\_symbol ``` char* lconv::currency_symbol ``` **Description:** Local currency symbol, for example, $ for dollar and ¥ for Chinese Yuan. ## decimal\_point ``` char* lconv::decimal_point ``` **Description:** Separator between the integer part and decimal part of decimal values. The default separator is **.**. ## frac\_digits ``` char lconv::frac_digits ``` **Description:** Maximum number of decimal parts of a currency value, which is not supported in the current system ## grouping ``` char* lconv::grouping ``` **Description:** Specifies that decimal values are separated by a group of digits. No separator is used in the system by default. ## int\_curr\_symbol ``` char* lconv::int_curr_symbol ``` **Description:** International currency symbol, for example, USD for dollar and CNY for Chinese Yuan. For details, see ISO-4217. ## int\_frac\_digits ``` char lconv::int_frac_digits ``` **Description:** Maximum number of decimal parts of a value, which is not supported in the current system ## int\_n\_cs\_precedes ``` char lconv::int_n_cs_precedes ``` **Description:** Specifies whether to add an international currency symbol before a negative currency value. This parameter is not supported in the current system. ## int\_n\_sep\_by\_space ``` char lconv::int_n_sep_by_space ``` **Description:** Specifies whether to add a space before a negative currency value as a separator. This parameter is not supported in the current system. ## int\_n\_sign\_posn ``` char lconv::int_n_sign_posn ``` **Description:** Symbol position of a negative currency value, which is not supported in the current system ## int\_p\_cs\_precedes ``` char lconv::int_p_cs_precedes ``` **Description:** Specifies whether to add an international currency symbol before a non-negative currency value. This parameter is not supported in the current system. ## int\_p\_sep\_by\_space ``` char lconv::int_p_sep_by_space ``` **Description:** Specifies whether to add a space before a non-negative currency value as a separator. This parameter is not supported in the current system. ## int\_p\_sign\_posn ``` char lconv::int_p_sign_posn ``` **Description:** Symbol position of a non-negative currency value, which is not supported in the current system ## mon\_decimal\_point ``` char* lconv::mon_decimal_point ``` **Description:** Separator between the integer part and decimal part of currency values. The system does not support this separator. ## mon\_grouping ``` char* lconv::mon_grouping ``` **Description:** Specifies that currency values are separated by a group of digits. No separator is used in the system by default. ## mon\_thousands\_sep ``` char* lconv::mon_thousands_sep ``` **Description:** The currency values are separated by thousands, that is, three digits form a group. The system does not support this separator. ## n\_cs\_precedes ``` char lconv::n_cs_precedes ``` **Description:** Specifies whether to add a currency symbol before a negative currency value. This parameter is not supported in the current system. ## n\_sep\_by\_space ``` char lconv::n_sep_by_space ``` **Description:** Specifies whether to add a space before a negative currency value as a separator. This parameter is not supported in the current system. ## n\_sign\_posn ``` char lconv::n_sign_posn ``` **Description:** Symbol position of a negative currency value, which is not supported in the current system ## negative\_sign ``` char* lconv::negative_sign ``` **Description:** Symbol of a negative currency value, which is not supported in the current system ## p\_cs\_precedes ``` char lconv::p_cs_precedes ``` **Description:** Specifies whether to add a currency symbol before a non-negative currency value. This parameter is not supported in the current system. ## p\_sep\_by\_space ``` char lconv::p_sep_by_space ``` **Description:** Specifies whether to add a space before a non-negative currency value as a separator. This parameter is not supported in the current system. ## p\_sign\_posn ``` char lconv::p_sign_posn ``` **Description:** Symbol position of a non-negative currency value, which is not supported in the current system ## positive\_sign ``` char* lconv::positive_sign ``` **Description:** Symbol of a non-negative currency value, which is not supported in the current system ## thousands\_sep ``` char* lconv::thousands_sep ``` **Description:** The decimal values are separated by thousands, that is, three digits form a group. No separator is used in the system by default.