[ic] German currency / dezimal=zero problem

Erik Kendel interchange-users@interchange.redhat.com
Sat Dec 8 13:45:01 2001


> Erik Kendel wrote:
> >
> > hello together,
> >
> > I am running IC 4.8.2 on redhat 7.1 with a mysql database.
> > The IC server still rounding up dezimal numbers to ,00
> > or .00 for example: the database includes the price 10.99,
> > on result page it is 10.00.
> > I setup the catalog.cf to :
> >
> > Locale de_DE PriceDivide         .58
> > Locale de_DE mon_decimal_point   .
> > Locale de_DE mon_thousands_sep   " "
> > Locale de_DE currency_symbol     " DM"
> > Locale de_DE ps_cs_precedes      1
>
> ....
>
> Try with adding
>
>  Locale de_DE frac_digits 2
>
> in your catalog.cfg
>
> Joachim
>
> I add it to :
>
>  Locale de_DE PriceDivide         .58
>  Locale de_DE mon_decimal_point   .
>  Locale de_DE mon_thousands_sep   " "
>  Locale de_DE currency_symbol     " DM"
>  Locale de_DE ps_cs_precedes      1
>  Locale de_DE frac_digits 2
>
> without any success. Same as before. Do you have any other suggestions?!

>Did you restart the Interchange server?
Ohyeah. I think I made it double with
/usr/sbin/interchange -r
/etc/rc.d/init.d/interchange restart
/usr/lib/interchange/bin/interchange --kill and serve and reconfig and
restart
>Did you set the locale to de_DE (for example [setlocale de_DE])?
I setup it in the catalog.cfg. I tried this:
LocaleDatabase  locale
Locale          de_DE

and the other version above.

but where is [setlocale de_DE] set?! In the result.html page?

>Did you have another locale setting befor or after the de_DE stuff in
No.
>you catalog.cfg?




Joachim

--
Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce
[Hans-Joachim.leidinger@bpanet.de]
Black Point Arts Internet Solutions GmbH
http://www.bpanet.de