[ic] cut off fractionals after changing locale

Christian Ducrot interchange-users@icdevgroup.org
Wed Nov 13 07:35:01 2002


Hello interchange-users,

I've problems with changing the locale to de_DE in the foundation
demo. I use IC 4.8.6 on SuSE 7.2 Linux.

After rebooting with the following settings, all prices are shown with
cut off fractionals ($12.99 -> 12,00 EUR / $8.45 -> 8,00 EUR).

catalog.cfg:
# Last locale specified is the default.
#Locale          en_US LC_CTYPE C
Locale          de_DE default 1
LocaleDatabase  locale

locale:
code                  en_US   de_DE   fr_FR
frac_digits           2       2       2
currency_symbol       $       EUR     EUR
decimal_point         .       .       .
p_cs_precedes         1       0       0
mon_thousands_sep     ,       .       .
mon_decimal_point     .       ,       ,
mon_thousand_sep                        
p_sep_by_space        1
products                      de_products     produits
default               1       0       0
PriceDivide           1       1       1
price_picture

If I use [setlocale locale=de_DE currency=de_DE persist=1] instead of
changing catalog.cfg the prices look good.

Can you help me?

-- 
Best regards,
Christian