[ic] rounding off product prize

Øystein Thune interchange-users@interchange.redhat.com
Fri Oct 26 03:31:01 2001


torsdag 25. oktober 2001, 19:09, skrev du :
> At 10:11 AM 10/25/2001 +0200, you wrote:
> >There was no change. There are still two decimals after the . I really
> > would like the ,00 - ending.  It's a norwegian thing  :)
>
> Please reply in context (at the bottom of the message, just below the text
> you are replying to).
>
> It must be out of the question for some reason, but I have to ask - is
> their any reason why you wouldn't just enter the prices in the products
> table as integers?  Also, are you trying to round shipping, salestax/vat
> and grand totals as well?
>
> - Ed L.

We enter the product price as integers, like 3136 so price exclusive salestax 
looks good.  But when IC calculates the salestax/vat (in norway it's 24%) the 
product price inclusive salestax is 3888.64. My wish is to round that off 
to 3889,- or 3889,00. (also grand totals). 

Oystein


>
> >Oystein
> >(runnning IC 4.8.1)
> >
> >onsdag 24. oktober 2001, 17:53, skrev du :
> > > At 10:56 AM 10/24/2001 +0200, you wrote:
> > > >Anyone knows how to round off the product price up to the nearest
> > > > integer.
> > > >
> > > >Tried to (first attempt) set locale price_picture "##.###,00" in the
> > > >catalog.cfg but then ic couldn't calculate price with tax
> > > >
> > > >Any suggestions or do I have to get my sysadmin to come up with a
> > > > small hack...?
> > > >
> > > >Regards from Oystein
> > >
> > > What happens if you drop the ',00': price_picture "##.###"?
> > >
> > > - Ed L.
> > >
> > >
> > >
> > >
> > >
> > > New Media E.M.S.               Software Solutions for Business
> > > 463 Main St., Suite D          eCommerce | Consulting | Hosting
> > > Placerville, CA  95667         edl@newmediaems.com
> > > (530) 622-9421                 http://www.newmediaems.com
> > > (866) 519-4680 Toll-Free       (530) 622-9426 Fax
> > > ===============================================================
> > >
> > > _______________________________________________
> > > interchange-users mailing list
> > > interchange-users@interchange.redhat.com
> > > http://interchange.redhat.com/mailman/listinfo/interchange-users
> >
> >_______________________________________________
> >interchange-users mailing list
> >interchange-users@interchange.redhat.com
> >http://interchange.redhat.com/mailman/listinfo/interchange-users
>
> ===============================================================
> New Media E.M.S.               Software Solutions for Business
> 463 Main St., Suite D          eCommerce | Consulting | Hosting
> Placerville, CA  95667         edl@newmediaems.com
> (530) 622-9421                 http://www.newmediaems.com
> (866) 519-4680 Toll-Free       (530) 622-9426 Fax
> ===============================================================
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users