> The round issue is a python bug (not a OpenERP bug) ?! Or not ?
It's neither and both, it's an inaccuracy issue with the way floating-point numbers are stored[0], leading to a number of problems [1] [2] when trying to perform precise manipulation (including rounding) of floating-point numbers (floats and doubles). Lorenzo also nicely outlined the issues in the message he linked.
The behavior is deterministic, but that does not make it any easier to handle.
> The round issue is a python bug (not a OpenERP bug) ?! Or not ?
It's neither and both, it's an inaccuracy issue with the way floating-point numbers are stored[0], leading to a number of problems [1] [2] when trying to perform precise manipulation (including rounding) of floating-point numbers (floats and doubles). Lorenzo also nicely outlined the issues in the message he linked.
The behavior is deterministic, but that does not make it any easier to handle.
[0] http:// docs.oracle. com/cd/ E19957- 01/806- 3568/ncg_ goldberg. html docs.python. org/tutorial/ floatingpoint. html www.lahey. com/float. htm
[1] http://
[2] http://