UniLconv: Difference between revisions
Appearance
UniLconv created |
m c type to OS/2 type |
||
Line 7: | Line 7: | ||
[[OS2 API:DataType:UniChar|UniChar]] decimal_point | [[OS2 API:DataType:UniChar|UniChar]] decimal_point | ||
[[OS2 API:DataType:UniChar|UniChar]] thousands_sep | [[OS2 API:DataType:UniChar|UniChar]] thousands_sep | ||
[[OS2 API:DataType:SHORT|SHORT]] grouping | |||
[[OS2 API:DataType:UniChar|UniChar]] int_curr_symbol | [[OS2 API:DataType:UniChar|UniChar]] int_curr_symbol | ||
[[OS2 API:DataType:UniChar|UniChar]] currency_symbol | [[OS2 API:DataType:UniChar|UniChar]] currency_symbol | ||
[[OS2 API:DataType:UniChar|UniChar]] mon_decimal_point | [[OS2 API:DataType:UniChar|UniChar]] mon_decimal_point | ||
[[OS2 API:DataType:UniChar|UniChar]] mon_thousands_sep | [[OS2 API:DataType:UniChar|UniChar]] mon_thousands_sep | ||
[[OS2 API:DataType:SHORT|SHORT]] mon_grouping | |||
[[OS2 API:DataType:UniChar|UniChar]] positive_sign | [[OS2 API:DataType:UniChar|UniChar]] positive_sign | ||
[[OS2 API:DataType:UniChar|UniChar]] negative_sign | [[OS2 API:DataType:UniChar|UniChar]] negative_sign | ||
[[OS2 API:DataType:SHORT|SHORT]] int_frac_digits | |||
[[OS2 API:DataType:SHORT|SHORT]] frac_digits | |||
[[OS2 API:DataType:SHORT|SHORT]] p_cs_precedes | |||
[[OS2 API:DataType:SHORT|SHORT]] p_sep_by_space | |||
[[OS2 API:DataType:SHORT|SHORT]] n_cs_precedes | |||
[[OS2 API:DataType:SHORT|SHORT]] n_sep_by_space | |||
[[OS2 API:DataType:SHORT|SHORT]] p_sign_posn | |||
[[OS2 API:DataType:SHORT|SHORT]] n_sign_posn | |||
[[OS2 API:DataType:SHORT|SHORT]] os2_mondecpt | |||
[[OS2 API:DataType:UniChar|UniChar]] debit_sign | [[OS2 API:DataType:UniChar|UniChar]] debit_sign | ||
[[OS2 API:DataType:UniChar|UniChar]] credit_sign | [[OS2 API:DataType:UniChar|UniChar]] credit_sign | ||
Line 60: | Line 60: | ||
=== Comment === | === Comment === | ||
Revision as of 07:20, 22 March 2006
UniLconv
Describes the locale convensions structure.
Type
UniChar decimal_point UniChar thousands_sep SHORT grouping UniChar int_curr_symbol UniChar currency_symbol UniChar mon_decimal_point UniChar mon_thousands_sep SHORT mon_grouping UniChar positive_sign UniChar negative_sign SHORT int_frac_digits SHORT frac_digits SHORT p_cs_precedes SHORT p_sep_by_space SHORT n_cs_precedes SHORT n_sep_by_space SHORT p_sign_posn SHORT n_sign_posn SHORT os2_mondecpt UniChar debit_sign UniChar credit_sign UniChar left_parenthesis UniChar right_parenthesis
C declaration method
typedef struct
Fields
decimal_point Non-monetary decimal point. thousands_sep Non-monetary thousands separator. grouping Size of each group of digits in non-monetary quantities. int_curr_symbol International currency symbol and separator. currency_symbol Local currency symbol. mon_decimal_point Monetary decimal point. mon_thousands_sep Monetary decimal separator. mon_grouping Size of each group of digits in monetary quantities. positive_sign Non-negative value signs. negative_sign Negative value signs. int_frac_digits Number of fractional digits for international currency. frac_digits Number of fractional digits for local currency. p_cs_precedes Non-negative currency symbol; 1 precedes, 0 succeeds. p_sep_by_space Non-negative currency symbol; 1 space, 0 no space. n_cs_precedes Negative currency symbol; 1 precedes, 0 succeeds. n_sep_by_space Negative currency symbol; 1 space, 0 no space. p_sign_posn Positioning of non-negative monetary sign. n_sign_posn Positioning of negative monetary sign. os2_mondecpt OS/2 currency symbol positioning. debit_sign Non-negative valued debit monetary symbol. credit_sign Negative valued credit monetary symbol. left_parenthesis Negative valued left parenthesis monetary symbol. right_parenthesis Negative valued right parenthesis monetary symbol.