Comment 13 for bug 882036

Revision history for this message
Pieter J. Kersten (EduSense BV) (pieterj) wrote : Re: rounding error

Sorry to disturb that dream...

>>> roundf(1.516,2)
1.52
>>> roundf(1.515,2)
1.51
>>> roundf(1.5151,2)
1.52
>>> roundf(1.514,2)
1.51

Still not right. Same with round() though.