1 Star 0 Fork 4.9K

平凡 / docs

forked from OpenHarmony / docs 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
lconv.md 17.51 KB
一键复制 编辑 原始数据 按行查看 历史
wenjun 提交于 2020-09-08 10:08 . add OpenHarmony 1.0 baseline

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

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.

1
https://gitee.com/pingfan_vs_hs/docs.git
git@gitee.com:pingfan_vs_hs/docs.git
pingfan_vs_hs
docs
docs
master

搜索帮助