News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Rounding issue

Started by frentrop, March 06, 2012, 22:15:09 PM

Previous topic - Next topic

frentrop

I want to use nett pricing in VM2. Because all I can fill in is the cost price, I enter the actual nett sales price there. I then add a pre-tax discount of 15.9666 %, and a sales tax of 19% (together they should even out).
Now this works fine with a "round" price of 10 or 20, but a price of 15 is calculated to 15,01. This is odd, because  if I do the math on my calculator, I come to 14.9999619, which in my book should round up to 15,00 and not a penny more. I tried tweaking the last decimal, but I cannot get it to round off to 15.

Anybody any thoughts?

Matej.iStraxx