名前空間
変種
操作

lconv

提供: cppreference.com
< c‎ | locale

Defined in header <locale.h>
struct lconv;
構造体lconvCロケールで定義されている数値および通貨フォーマット規則を含む。この構造体のオブジェクトがlocaleconvを得ることができる。 lconvのメンバが型charのと型char*の値です。 char*がNULL文字(空のC文字列であること)を指している場合を除き、各decimal_pointメンバー。型のメンバcharは、対応する値が現在のCロケールで使用できない場合CHAR_MAXかもしれないこれらのどれもがすべて非負の数値であり、.
Original:
The struct lconv contains numeric and monetary formatting rules as defined by a C locale. Objects of this struct may be obtained with localeconv. The members of lconv are values of type char and of type char*. Each char* member except decimal_point may be pointing at a null character (that is, at an empty C-string). The members of type char are all non-negative numbers, any of which may be CHAR_MAX if the corresponding value is not available in the current C locale.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

目次

[編集] メンバーオブジェクト

[編集] 非金銭的な数値の書式設定パラメータ

char* decimal_point
文字は、小数点として使用
Original:
the character used as the decimal point
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(パブリックメンバオブジェクト)
char* thousands_sep
文字は、小数点の前に数字のグループを区切るために使用される
Original:
the character used to separate groups of digits before the decimal point
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(パブリックメンバオブジェクト)
char* grouping
その要素が数字のグループの大きさを示す文字列
Original:
a string whose elements indicate the sizes of digit groups
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(パブリックメンバオブジェクト)

[編集] 金銭的な数値の書式設定パラメータ

char* mon_decimal_point
文字は、小数点として使用
Original:
the character used as the decimal point
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(パブリックメンバオブジェクト)
char* mon_thousands_sep
文字は、小数点の前に数字のグループを区切るために使用される
Original:
the character used to separate groups of digits before the decimal point
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(パブリックメンバオブジェクト)
char* mon_grouping
その要素が数字のグループの大きさを示す文字列
Original:
a string whose elements indicate the sizes of digit groups
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(パブリックメンバオブジェクト)
char* positive_sign
負でない通貨量を示すために使用される文字列
Original:
a string used to indicate non-negative monetary quantity
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(パブリックメンバオブジェクト)
char* negative_sign
負の通貨量を示すために使用される文字列
Original:
a string used to indicate negative monetary quantity
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(パブリックメンバオブジェクト)

[編集] 地元の金融数値書式パラメータ

char* currency_symbol
シンボルは、現在のCロケールで通貨に使用
Original:
the symbol used for currency in the current C locale
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(パブリックメンバオブジェクト)
char frac_digits
通貨量​​で表示する小数点以下の桁数
Original:
the number of digits after the decimal point to display in a monetary quantity
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(パブリックメンバオブジェクト)
char p_cs_precedes
1CURRENCY_SYMBOLが0後の場合は、負以外の値の前に配置されている場合
Original:
1 if currency_symbol is placed before non-negative value, 0 if after
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(パブリックメンバオブジェクト)
char n_cs_precedes
1CURRENCY_SYMBOLが0後の場合は、負の値の前に配置されている場合
Original:
1 if currency_symbol is placed before negative value, 0 if after
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(パブリックメンバオブジェクト)
char p_sep_by_space
currency_symbolの分離、positive_sign、非金銭的な負の値を示します
Original:
indicates the separation of currency_symbol, positive_sign, and the non-negative monetary value
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(パブリックメンバオブジェクト)
char n_sep_by_space
currency_symbolの分離、negative_sign、負の金銭的価値を示しています
Original:
indicates the separation of currency_symbol, negative_sign, and the negative monetary value
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(パブリックメンバオブジェクト)
char p_sign_posn
非負の貨幣価値でpositive_signの位置を示します
Original:
indicates the position of positive_sign in a non-negative monetary value
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(パブリックメンバオブジェクト)
char n_sign_posn
負の貨幣価値でnegative_signの位置を示します
Original:
indicates the position of negative_sign in a negative monetary value
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(パブリックメンバオブジェクト)

[編集] 国際通貨数値書式パラメータ

char* int_curr_symbol
文字列は、現在のCロケールの国際通貨名として使用されます
Original:
the string used as international currency name in the current C locale
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(パブリックメンバオブジェクト)
char int_frac_digits
国際通貨量で表示する小数点以下の桁数
Original:
the number of digits after the decimal point to display in an international monetary quantity
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(パブリックメンバオブジェクト)
char int_p_cs_precedes
1CURRENCY_SYMBOLが0後の場合は、負以外の国際通貨値の前に配置されている場合
Original:
1 if currency_symbol is placed before non-negative international monetary value, 0 if after
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(パブリックメンバオブジェクト)
char int_n_cs_precedes
1CURRENCY_SYMBOLが0後の場合は、負の国際通貨値の前に配置されている場合
Original:
1 if currency_symbol is placed before negative international monetary value, 0 if after
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(パブリックメンバオブジェクト)
char int_p_sep_by_space
currency_symbolの分離、positive_sign、非マイナスの国際通貨の値を示します
Original:
indicates the separation of currency_symbol, positive_sign, and the non-negative international monetary value
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(パブリックメンバオブジェクト)
char int_n_sep_by_space
currency_symbolの分離、negative_sign、負の国際通貨の値を示します
Original:
indicates the separation of currency_symbol, negative_sign, and the negative international monetary value
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(パブリックメンバオブジェクト)
char int_p_sign_posn
非負の国際貨幣価値でpositive_signの位置を示します
Original:
indicates the position of positive_sign in a non-negative international monetary value
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(パブリックメンバオブジェクト)
char int_n_sign_posn
負の国際貨幣価値でnegative_signの位置を示します
Original:
indicates the position of negative_sign in a negative international monetary value
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(パブリックメンバオブジェクト)


groupingmon_groupingが指すC-文字列の文字は、その数値に基づいて解釈されます。終端'\0'に遭遇したときは、表示される最後の値は、残りの桁で繰り返すように想定されます。 CHAR_MAXが検出された場合は、それ以上の数字はグループ化されていません。一度に3桁の典型的なグループ化は"\003"です.
Original:
The characters of the C-strings pointed to by grouping and mon_grouping are interpreted according to their numeric values. When the terminating '\0' is encountered, the last value seen is assumed to repeat for the remainder of digits. If CHAR_MAX is encountered, no further digits are grouped. the typical grouping of three digits at a time is "\003".
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
p_sep_by_spaceの値は、n_sep_by_spaceint_p_sep_by_spaceint_n_sep_by_space次のように解釈されます
Original:
The values of p_sep_by_space, n_sep_by_space, int_p_sep_by_space, int_n_sep_by_space are interpreted as follows:
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
0
はスペースは通貨記号と値を区別しません
Original:
no space separates the currency symbol and the value
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
1
通貨記号にスティックに署名、値はスペースで区切られています
Original:
sign sticks to the currency symbol, value is separated by a space
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
2
値にスティックを署名します。通貨記号は、スペースで区切られています
Original:
sign sticks to the value. Currency symbol is separated by a space
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
p_sign_posnの値は、n_sign_posnint_p_sign_posnint_n_sign_posn次のように解釈されます
Original:
The values of p_sign_posn, n_sign_posn, int_p_sign_posn, int_n_sign_posn are interpreted as follows:
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
0
値と通貨記号の周りの括弧は記号を表すために使用されます
Original:
parentheses around the value and the currency symbol are used to represent the sign
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
1
値と通貨記号の前に署名します
Original:
sign before the value and the currency symbol
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
2
値と通貨記号の後に署名します
Original:
sign after the value and the currency symbol
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
3
通貨記号の前に署名します
Original:
sign before the currency symbol
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
4
通貨記号の後に署名します
Original:
sign after the currency symbol
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[編集]

[編集] も参照してください

現在のロケールの数値および通貨書式設定の詳細を照会します
Original:
queries numeric and monetary formatting details of the current locale
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(機能) [edit]