[ic] Sorry but still problems with rounding

Saso interchange-users@icdevgroup.org
Thu Oct 17 21:06:01 2002


----- Original Message -----
From: "Saso" <saso@volja.net>
To: <interchange-users@icdevgroup.org>
Sent: Friday, October 18, 2002 2:43 AM
Subject: Re: [ic] Sorry but still problems with rounding


> >
> > Could you send your locale-settings from you catalog.cfg? That would
help
> > some in tracking down your problem.
> >
> > Did you also check your catalogs error.log?
> >
> > Rene
> >
>
> Ok first the error.log:
>
> 212.18.55.3 utEPDNHC:212.18.55.3 - [17/October/2002:06:42:54 -0400] zobek
> /~zobek/cgi-bin/cart.cgi/process.html Successful login by user 'zobek'
> 212.18.55.3 utEPDNHC:212.18.55.3 - [17/October/2002:06:42:54 -0400] zobek
> /~zobek/cgi-bin/cart.cgi/process.html Successful login by user 'zobek'
> 212.18.55.3 utEPDNHC:212.18.55.3 - [17/October/2002:06:43:20 -0400] zobek
> /~zobek/cgi-bin/cart.cgi/process.html Attempted database operation without
> table, fields, or key.
> > Table: ''
> > Fields:''
> > Key:   ''
> >
> 212.18.55.3 utEPDNHC:212.18.55.3 - [17/October/2002:06:46:42 -0400] zobek
> /~zobek/cgi-bin/cart.cgi/process.html Saving userdb in mv_check.
> 212.18.55.3 utEPDNHC:212.18.55.3 - [17/October/2002:06:46:51 -0400] zobek
> /~zobek/cgi-bin/cart.cgi/process.html Saving userdb in mv_check.
> 212.18.55.3 utEPDNHC:212.18.55.3 - [17/October/2002:06:47:28 -0400] zobek
>
>
> Think nothing serious on this issue here...
>
> Now the locale settings in catalog.cfg:
>
>
#==========================================================================#
>
> # Last locale specified is the default.
> # Locale          en_US LC_CTYPE C
> LocaleDatabase  locale
> Locale sl_SI
>
>
#==========================================================================#
>
>
> This is locale.txt now:
>
> Code en_US sl_SI de_DE fr_FR eur_EUR
> January Januar Januar Janvier
> February Februar Februar F&eacute;vrier
> March Marec M&auml;rz Mars
> April April April Avril
> May Maj Mai Mai
> June Junij Juni Juin
> July Julij Juli Juillet
> August Avgust August Aout
> September September September Septembre
> October Oktober October Octobre
> November November November Novembre
> December December Dezember D&eacute;cembre
> PriceDivide 0.6856 1 0.31652 0.09438 229
> ProductFiles
> Currency_symbol $ SIT DM FF &euro;
> Decimal_point . . . . .
> Default 0 1 1 0 0
> Frac_digits 2 2 2 2 2
> Mon_decimal_point . . , , .
> Mon_thousand_sep
> Mon_thousands_sep , , , . .
> p_cs_precedes 1 0   1
> p_sep_by_space   1
> Price_picture   DM ### ### ###,##
>  Products Produkti de_products produits
>
>
> Ok the formatting is lost but basically locale.txt should be OK...
>
> Any clue in catalog.cfg maybe?? because I commented locale en_US?
>


One more thing I discovered...

If I go to Items/Edit item .. the price is for ex. set to 10.99.. But when I
browse the Items (Admin/items) the prices are displayed rounded.. so it says
10.00..

So the rounding affects the whole site..not just tax but also the
catalogue..
And it's more like stripping because 8.99 becames 8.00 ...

Any clue?

Thanks,
Saso