openerp-expert-framework team mailing list archive
-
openerp-expert-framework team
-
Mailing list archive
-
Message #00426
Re: float errors propagating to 10^-2 in OpenERP v5...
Raphael,
I think you missed the point. You went too fast across it.
the correct answer is 0.101
nevertheless, whichever result you prefer, I gave two examples which make
the same calculation and give opposit results.
Floats will give you the right answer in the second expression or voce-versa
if you prefer.
I took an example of a currency rounded at three digits after the point.
How does it work ?
0.001/2 introduces an error which is bigger than 0.1 error
combining them gives you an unpredictable result.
--
View this message in context: http://openerp-expert-framework.71550.n3.nabble.com/float-errors-propagating-to-10-2-in-OpenERP-v5-tp1175425p1210919.html
Sent from the openerp-expert-framework mailing list archive at Nabble.com.
Follow ups
References