Hi, I think the problem is deeper ... From python console :
s = 0.555 -> round(s*100)/100 = 0.56 OK s = 0.585 -> round(s*100)/100 = 0.59 OK s = 0.595 -> round(s*100)/100 = 0.60 OK
but :
s = 0.565 -> round(s*100)/100 = 0.56 NO (0.57 is correct) s = 0.575 -> round(s*100)/100 = 0.57 NO (0.58 is correct)
The round issue is a python bug (not a OpenERP bug) ?! Or not ?
Hi,
I think the problem is deeper ...
From python console :
s = 0.555 -> round(s*100)/100 = 0.56 OK
s = 0.585 -> round(s*100)/100 = 0.59 OK
s = 0.595 -> round(s*100)/100 = 0.60 OK
but :
s = 0.565 -> round(s*100)/100 = 0.56 NO (0.57 is correct)
s = 0.575 -> round(s*100)/100 = 0.57 NO (0.58 is correct)
The round issue is a python bug (not a OpenERP bug) ?! Or not ?