LCONV

Is the NetWare counterpart to the standard lconv structure

Service:Internationalization
Defined In:nwlocale.h

Structure

  typedef struct { 
     char   decimal_point [4]; 
     char   thousands_sep [4]; 
     char   grouping [4]; 
     char   int_curr_symbol [8]; 
     char   currency_symbol [4]; 
     char   mon_decimal_point [4]; 
     char   mon_thousands_sep [4]; 
     char   mon_grouping [8]; 
     char   positive_sign [4]; 
     char   negative_sign [4]; 
     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 ; 
     int    code_page ; 
     int    country_id ; 
     char   data_list_separator ; 
     char   date_separator [2]; 
     char   time_separator [2]; 
     char   time_format ; 
     int    date_format ; 
     char   am [meridlen]; 
     char   pm [meridlen]; 
     char   reserved [40]; 
   
  } LCONV; 
  
  

Pascal Structure

  uses netwin32 
   
     LCONV = packed Record 
        decimal_point : Array [0..3] of Char; 
        thousands_sep : Array [0..3] of Char; 
        grouping : Array [0..3] of Char; 
        int_curr_symbol : Array [0..7] of Char; 
        currency_symbol : Array [0..3] of Char; 
        mon_decimal_point : Array [0..3] of Char; 
        mon_thousands_sep : Array [0..3] of Char; 
        mon_grouping : Array [0..7] of Char; 
        positive_sign : Array [0..3] of Char; 
        negative_sign : Array [0..3] of 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; 
        code_page : nint; 
        country_id : nint; 
        data_list_separator : Array [0..1] of Char; 
        date_separator : Array [0..1] of Char; 
        time_separator : Array [0..1] of Char; 
        time_format : Char; 
        date_format : Char; 
        am : Array [0..MERIDLEN-1] of Char; 
        pm : Array [0..MERIDLEN-1] of Char; 
        reserved : Array [0..39] of Char; 
     End; 
  
  

Fields

decimal_point
Specifies the non-monetary decimal point.
thousands_sep
Specifies the non-monetary separator for digits left of the decimal point.
grouping
Specifies a string showing the size of groups of digits.
int_curr_symbol
Specifies the international currency symbol for the current locale.
currency_symbol
Specifies the currency symbol for the current locale.
mon_decimal_point
Specifies the monetary decimal point.
mon_thousands_sep
Specifies the monetary separator for digits left of the decimal point.
mon_grouping
Specifies a string showing the size of groups of digits.
positive_sign
Specifies a string showing the positive monetary value.
negative_sign
Specifies a string showing the negative monetary value.
int_frac_digits
Specifies the number of fractional digits in monetary display.
frac_digits
Specifies the number of fractional digits in non-monetary display.
p_cs_precedes
Specifies the position of the currency symbol: 1=precede, 0=succeed
p_sep_by_space
Specifies whether to use a space separator with the currency symbol:
  • 0 no space separator
  • 1 space separator
n_cs_precedes
Specifies the location of the currency symbol for a negative monetary quantity.
n_sep_by_space
Specifies the separation of the currency symbol with a negative monetary quantity.
p_sign_posn
Specifies the value showing the position of the positive sign with a positive monetary quantity.
n_sign_posn
Specifies the value showing the position of the negative sign with a negative monetary quantity.
code_page
Specifies the code page of the local system as obtained by the NWLlocaleconv function.
country_id
Specifies the country code of the local system.
data_list_separator
Specifies the character used to separate items in a data list.
date_separator
Specifies the character used to separate month, day, and year fields in a date string.
time_separator
Specifies the character used to separate hours, minutes, and seconds in a time string.
time_format
Specifies an 8-bit code indicating the time format to be used.
date_format
Specifies an integer code indicating the date format to be used.
am (Client only)
Specifies a character string containing the local representation for ante meridian (before noon).
pm (Client only)
Specifies a character string containing the local representation for post meridian (after noon).
reserved
Is reserved.

Remarks

The first three characters of the grouping field contain the alphabetic international currency symbol in accordance with those specified in ISO 4217. The fourth character is the character used to separate the international currency symbol from the monetary quantity.

The first three characters of the int_curr_symbol field contain the alphabetic international currency symbol as defined in ISO 4217, "Codes for the Representation of Currency & Funds."

The date_format field has the following format:

  char   am[MERIDLEN] 
  char   pm[MERIDLEN]