# lconv ## **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 Documentation** ## 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.