lconv

Overview

Related Modules:

IO

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

  1. char* lconv::currency_symbol

Description:

Local currency symbol, for example, $ for dollar and ¥ for Chinese Yuan.

decimal_point

  1. char* lconv::decimal_point

Description:

Separator between the integer part and decimal part of decimal values. The default separator is ..

frac_digits

  1. char lconv::frac_digits

Description:

Maximum number of decimal parts of a currency value, which is not supported in the current system

grouping

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  1. char lconv::n_sign_posn

Description:

Symbol position of a negative currency value, which is not supported in the current system

negative_sign

  1. char* lconv::negative_sign

Description:

Symbol of a negative currency value, which is not supported in the current system

p_cs_precedes

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

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

  1. char lconv::p_sign_posn

Description:

Symbol position of a non-negative currency value, which is not supported in the current system

positive_sign

  1. char* lconv::positive_sign

Description:

Symbol of a non-negative currency value, which is not supported in the current system

thousands_sep

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