Espaces de noms
Variantes
Affichages
Actions

lconv

De cppreference.com
< c‎ | locale

Defined in header <locale.h>
struct lconv;
Le lconv structure contient les règles de formatage numériques et monétaires tels que définis par les paramètres régionaux C. Les objets de cette structure peut être obtenue avec localeconv. Les membres de lconv sont des valeurs de type et de char char* type. Chaque membre char* sauf decimal_point peut être pointée vers un caractère nul (c'est-à-un vide C-string). Les membres de type char sont tous des nombres non négatifs, tout ce qui peut être CHAR_MAX si la valeur correspondante n'est pas disponible dans la locale courante C .
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.

Sommaire

[modifier] Objets membres

[modifier] Non monétaires paramètres de mise en forme numérique

char* decimal_point
le caractère utilisé comme séparateur décimal
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.

(objet membre public)
char* thousands_sep
le caractère utilisé pour séparer des groupes de chiffres avant la virgule
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.

(objet membre public)
char* grouping
une chaîne dont les éléments indiquent les tailles de groupes de chiffres
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.

(objet membre public)

[modifier] Monétaires paramètres de formatage numériques

char* mon_decimal_point
le caractère utilisé comme séparateur décimal
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.

(objet membre public)
char* mon_thousands_sep
le caractère utilisé pour séparer des groupes de chiffres avant la virgule
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.

(objet membre public)
char* mon_grouping
une chaîne dont les éléments indiquent les tailles de groupes de chiffres
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.

(objet membre public)
char* positive_sign
une chaîne de caractères utilisée pour indiquer non négatif quantité monétaire
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.

(objet membre public)
char* negative_sign
une chaîne de caractères utilisée pour indiquer la quantité négative monétaire
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.

(objet membre public)

[modifier] Locales monétaires paramètres de formatage numériques

char* currency_symbol
le symbole utilisé pour la devise dans la locale courante 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.

(objet membre public)
char frac_digits
le nombre de chiffres après la virgule à afficher dans une quantité monétaire
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.

(objet membre public)
char p_cs_precedes
1 si currency_symbol est placé avant éléments non-valeur négative, si après 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.

(objet membre public)
char n_cs_precedes
1 si currency_symbol est placé avant la valeur négative, si après 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.

(objet membre public)
char p_sep_by_space
indique la séparation des currency_symbol, positive_sign, et la valeur monétaire non négatif
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.

(objet membre public)
char n_sep_by_space
indique la séparation des currency_symbol, negative_sign, et la valeur monétaire négatif
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.

(objet membre public)
char p_sign_posn
indique la position de positive_sign à une valeur non négative monétaire
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.

(objet membre public)
char n_sign_posn
indique la position de negative_sign à une valeur négative monétaire
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.

(objet membre public)

[modifier] Internationales paramètres de mise en forme monétaire numériques

char* int_curr_symbol
la chaîne utilisée comme nom de monnaie internationale dans la locale courante 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.

(objet membre public)
char int_frac_digits
le nombre de chiffres après la virgule à afficher dans une quantité monétaire international
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.

(objet membre public)
char int_p_cs_precedes
1 si currency_symbol est placé avant éléments non-négative valeur monétaire international, 0 si après
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.

(objet membre public)
char int_n_cs_precedes
1 si currency_symbol est placé avant la valeur négative monétaire international, 0 si après
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.

(objet membre public)
char int_p_sep_by_space
indique la séparation des currency_symbol, positive_sign, et la non-valeur négative monétaire international
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.

(objet membre public)
char int_n_sep_by_space
indique la séparation des currency_symbol, negative_sign, et la valeur négative monétaire international
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.

(objet membre public)
char int_p_sign_posn
indique la position de positive_sign dans un non-négatif valeur monétaire international
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.

(objet membre public)
char int_n_sign_posn
indique la position de negative_sign à une valeur négative monétaire international
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.

(objet membre public)


Les caractères des chaînes C-pointée par grouping et mon_grouping sont interprétés en fonction de leurs valeurs numériques. Lorsque le '\0' fin ​​est rencontrée, la dernière valeur considérée est supposé répéter pour le reste de chiffres. Si CHAR_MAX est rencontré, aucun chiffre autres sont regroupées. le regroupement typique de trois chiffres à la fois est "\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.
Les valeurs de p_sep_by_space, n_sep_by_space, int_p_sep_by_space, int_n_sep_by_space sont interprétées comme suit:
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
pas d'espace sépare le symbole de la monnaie et de la valeur
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
signer des bâtons pour le symbole monétaire, la valeur est séparée par un espace
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
signer des bâtons à la valeur. Symbole de la devise est séparé par un espace
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.
Les valeurs de p_sign_posn, n_sign_posn, int_p_sign_posn, int_n_sign_posn sont interprétées comme suit:
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
parenthèses autour de la valeur et le symbole monétaire sont utilisés pour représenter le signe
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
signer avant la valeur et le symbole monétaire
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
signer après la valeur et le symbole monétaire
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
signer avant le symbole monétaire
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
signer après le symbole monétaire
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.

[modifier] Exemple

[modifier] Voir aussi

interroge les détails de formatage numériques et monétaires de la localisation en cours
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.

(fonction) [edit]