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. _______________________________________________ Mailing list: https://launchpad.net/~openerp-expert-framework Post to : [email protected] Unsubscribe : https://launchpad.net/~openerp-expert-framework More help : https://help.launchpad.net/ListHelp

