Just a guess, but have you tried to add "rounding=XX" to @ofbizCurrency?
old: <@ofbizCurrency amount=price.specialPromoPrice isoCode=price.currencyUsed /> new: <@ofbizCurrency amount=price.specialPromoPrice isoCode=price.currencyUsed rounding=2 /> On Fri, Jun 8, 2012 at 8:16 AM, Deepak Agarwal <[email protected]> wrote: > We are experiencing/struggling similar problem. > > On Fri, Jun 8, 2012 at 7:55 PM, Info Olagos <[email protected]> wrote: > > > Hello, > > > > A point of interest: > > > > If the ecommerce platform of Ofbiz is used for B2B it is , in Europe, the > > case that prices are published without taxes. For that Ofbiz is perfect. > > > > But > > > > If the ecommerce platform of Ofbiz is used for B2C it is, in Europe, the > > case that prices are published inclusive taxes (VAT). For that it > becomes, > > to my view, a little bit difficult in Ofbiz to calculate the price. > > The price is always rounded in this way: the product price is not f.e. > > 30,00 € but always 29,90 € for example. Then in Ofbiz we should enter the > > price without tax, so we have to calculate 29,90 / 1,21 (VAT is 21% > f.e.). > > That is 24.71074380165289256198347107438 € . > > If i have to enter this in Ofbiz, i should round it to 24,71 € f.e. . The > > outcome with tax (VAT) is then: 24,71 * 1,21 = 29.8991 € or probably on > > the screen: 29,89 €. > > Now in Europe there is no person who is comfortable to pay with 1 > eurocent > > coins. However they exist. > > > > But all this to show that for B2C it should be better if Ofbiz had a > system > > where the price with tax is given in as 29,90 € f.e. and that the price > > without tax is then calculated automatically for the products. > > > > I hope this is clear. > > > > Anyone experience with this psychological rounding of cents for B2C ? > > > > Regards, > > Heidi > > > > > > -- > > Olagos bvba > > http://www.olagos.eu <http://www.olagos.eu/> > > http://www.olagos.com > > http://www.olagos.be > > http://www.olagos.nl > > Olagos team > > Heesterbos 5 > > 2570 Duffel > > Belgium > > > > -- > > Thanks, > > Deepak Agarwal, > > > > Paxcel Technologies Pvt Ltd. > > Hartron Complex, Sector 18, Gurgaon, India. > > E-Mail: [email protected] > > Mobile: +91 9910322604 > > > > >
