Le 13/04/2010 10:53, fabrice a écrit :

And finally not.............
in fact that is resolve a part of the mistake but i always have a problem.
now the mistake is if i take 10 article i have 0.12 euro for a unit price of
0.01789 : he must be 0,1789
if i put 100 article i have 0,18 euros
but if i put 1000 article i do 17,89 euros............. the good
price..........
so i think the mistake was in a round at two number after the "," in the
calcul of the price :
so where's the code for calcul the price???
thanks you

in arithmetic.properties, you can set the rounding.

HTH

--
Erwan de FERRIERES
www.nereide.biz

Reply via email to