Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <locale.h>

Struct lconv

Interface status: externallyDefinedApi

struct lconv;

Description

Includes the following members,

Members

Defined in lconv:


Member data


decimal_point

Interface status: externallyDefinedApi Inherited from: lconv

char * decimal_point;

Description

The operand is a string containing the symbol that shall be used as the decimal delimiter (radix character) in numeric, non-monetary formatted quantities. This keyword cannot be omitted and cannot be set to the empty string. In contexts where standards limit the decimal_point to a single byte, the result of specifying a multi-byte operand shall be unspecified.


thousands_sep

Interface status: externallyDefinedApi Inherited from: lconv

char * thousands_sep;

Description

The operand is a string containing the symbol that shall be used as a separator for groups of digits to the left of the decimal delimiter in numeric, non-monetary formatted monetary quantities. In contexts where standards limit the thousands_sep to a single byte, the result of specifying a multi-byte operand shall be unspecified.


grouping

Interface status: externallyDefinedApi Inherited from: lconv

char * grouping;

Description

Define the size of each group of digits in formatted non-monetary quantities. The operand is a sequence of integers separated by semicolons. Each integer specifies the number of digits in each group, with the initial integer defining the size of the group immediately preceding the decimal delimiter, and the following integers defining the preceding groups. If the last integer is not -1, then the size of the previous group (if any) shall be repeatedly used for the remainder of the digits. If the last integer is -1, then no further grouping shall be performed.


int_curr_symbol

Interface status: externallyDefinedApi Inherited from: lconv

char * int_curr_symbol;

Description

The international currency symbol. The operand shall be a four-character string, with the first three characters containing the alphabetic international currency symbol. The international currency symbol should be chosen in accordance with those specified in the ISO 4217 standard. The fourth character shall be the character used to separate the international currency symbol from the monetary quantity.


currency_symbol

Interface status: externallyDefinedApi Inherited from: lconv

char * currency_symbol;

Description

The string that shall be used as the local currency symbol.


mon_decimal_point

Interface status: externallyDefinedApi Inherited from: lconv

char * mon_decimal_point;

Description

The operand is a string containing the symbol that shall be used as the decimal delimiter (radix character) in monetary formatted quantities.


mon_thousands_sep

Interface status: externallyDefinedApi Inherited from: lconv

char * mon_thousands_sep;

Description

The operand is a string containing the symbol that shall be used as a separator for groups of digits to the left of the decimal delimiter in formatted monetary quantities.


mon_grouping

Interface status: externallyDefinedApi Inherited from: lconv

char * mon_grouping;

Description

Define the size of each group of digits in formatted monetary quantities. The operand is a sequence of integers separated by semicolons. Each integer specifies the number of digits in each group, with the initial integer defining the size of the group immediately preceding the decimal delimiter, and the following integers defining the preceding groups. If the last integer is not -1, then the size of the previous group (if any) shall be repeatedly used for the remainder of the digits. If the last integer is -1, then no further grouping shall be performed.


positive_sign

Interface status: externallyDefinedApi Inherited from: lconv

char * positive_sign;

Description

A string that shall be used to indicate a non-negative-valued formatted monetary quantity.


negative_sign

Interface status: externallyDefinedApi Inherited from: lconv

char * negative_sign;

Description

A string that shall be used to indicate a negative-valued formatted monetary quantity.


int_frac_digits

Interface status: externallyDefinedApi Inherited from: lconv

char int_frac_digits;

Description

An integer representing the number of fractional digits (those to the right of the decimal delimiter) to be written in a formatted monetary quantity using int_curr_symbol.


frac_digits

Interface status: externallyDefinedApi Inherited from: lconv

char frac_digits;

Description

An integer representing the number of fractional digits (those to the right of the decimal delimiter) to be written in a formatted monetary quantity using currency_symbol.


p_cs_precedes

Interface status: externallyDefinedApi Inherited from: lconv

char p_cs_precedes;

Description

An integer set to 1 if the currency_symbol precedes the value for a monetary quantity with a non-negative value, and set to 0 if the symbol succeeds the value.


p_sep_by_space

Interface status: externallyDefinedApi Inherited from: lconv

char p_sep_by_space;

Description

Set to a value indicating the separation of the currency_symbol, the sign string, and the value for a non-negative formatted monetary quantity.


n_cs_precedes

Interface status: externallyDefinedApi Inherited from: lconv

char n_cs_precedes;

Description

An integer set to 1 if the currency_symbol precedes the value for a monetary quantity with a negative value, and set to 0 if the symbol succeeds the value.


n_sep_by_space

Interface status: externallyDefinedApi Inherited from: lconv

char n_sep_by_space;

Description

Set to a value indicating the separation of the currency_symbol, the sign string, and the value for a negative formatted monetary quantity.


p_sign_posn

Interface status: externallyDefinedApi Inherited from: lconv

char p_sign_posn;

Description

An integer set to a value indicating the positioning of the positive_sign for a monetary quantity with a non-negative value.


n_sign_posn

Interface status: externallyDefinedApi Inherited from: lconv

char n_sign_posn;

Description

An integer set to a value indicating the positioning of the negative_sign for a negative formatted monetary quantity.


int_p_cs_precedes

Interface status: externallyDefinedApi Inherited from: lconv

char int_p_cs_precedes;

Description

An integer set to 1 if the int_curr_symbol precedes the value for a monetary quantity with a non-negative value, and set to 0 if the symbol succeeds the value.


int_n_cs_precedes

Interface status: externallyDefinedApi Inherited from: lconv

char int_n_cs_precedes;

Description

An integer set to 1 if the int_curr_symbol precedes the value for a monetary quantity with a negative value, and set to 0 if the symbol succeeds the value.


int_p_sep_by_space

Interface status: externallyDefinedApi Inherited from: lconv

char int_p_sep_by_space;

Description

Set to a value indicating the separation of the int_curr_symbol, the sign string, and the value for a non-negative internationally formatted monetary quantity.


int_n_sep_by_space

Interface status: externallyDefinedApi Inherited from: lconv

char int_n_sep_by_space;

Description

Set to a value indicating the separation of the int_curr_symbol, the sign string, and the value for a negative internationally formatted monetary quantity.


int_p_sign_posn

Interface status: externallyDefinedApi Inherited from: lconv

char int_p_sign_posn;

Description

An integer set to a value indicating the positioning of the positive_sign for a positive monetary quantity formatted with the international format.


int_n_sign_posn

Interface status: externallyDefinedApi Inherited from: lconv

char int_n_sign_posn;

Description

An integer set to a value indicating the positioning of the negative_sign for a negative monetary quantity formatted with the international format.