openerp-expert-framework team mailing list archive
-
openerp-expert-framework team
-
Mailing list archive
-
Message #00428
Re: float errors propagating to 10^-2 in OpenERP v5...
Unfortunatly, the story is worst than what you seem to hope so much. Again
you missed the point.
The two expressions give you different results, when they are absolutly
equivalent, just the order of operations is different.
One gives you 0.101, the second, with the same python interpreter gives
0.100
One of them is wrong, choose the one you like. It just confirms what we
learnt at school.
I just managed to have float error jumping over the rounding limit, so
rounded result is different in the two cases.
Accounting can be computerized if it provides the same result as manual
calculation, in base ten. BCD is made for this. Hand held computers use BCD,
spreadsheets use BCD for financial format, Ciel (cheap accounting software)
does it as well as COBOL.
Now we can invent a new way. In fact I don't care more in 2010, than in
2006, only the noise around awoke me. ;-)
--
View this message in context: http://openerp-expert-framework.71550.n3.nabble.com/float-errors-propagating-to-10-2-in-OpenERP-v5-tp1175425p1212264.html
Sent from the openerp-expert-framework mailing list archive at Nabble.com.
Follow ups
References
-
float errors propagating to 10^-2 in OpenERP v5...
From: Raphaël Valyi, 2010-08-16
-
Re: float errors propagating to 10^-2 in OpenERP v5...
From: Raphaël Valyi, 2010-08-16
-
Re: float errors propagating to 10^-2 in OpenERP v5...
From: Borja López Soilán (Pexego), 2010-08-17
-
Re: float errors propagating to 10^-2 in OpenERP v5...
From: Sharoon Thomas, 2010-08-17
-
Re: float errors propagating to 10^-2 in OpenERP v5...
From: Nicolas Bessi, 2010-08-17
-
Re: float errors propagating to 10^-2 in OpenERP v5...
From: Borja López Soilán (Pexego), 2010-08-17
-
Re: float errors propagating to 10^-2 in OpenERP v5...
From: bounaberdi, 2010-08-18
-
Re: float errors propagating to 10^-2 in OpenERP v5...
From: Raphaël Valyi, 2010-08-18
-
Re: float errors propagating to 10^-2 in OpenERP v5...
From: bounaberdi, 2010-08-18
-
Re: float errors propagating to 10^-2 in OpenERP v5...
From: Raphaël Valyi, 2010-08-18