Hi,
1.449999.round(1) # 1.4 instead 4.5 ! (would be mathematical correct)
it seems only the next [one] digit after the relevant position is used
for calculation.
Nobody wondering of this? Isn't that a problem in many use cases?
It can't be a bit-precision problem, because that would affect much
lower digits.
Looking into the doku: ... aha - additional features:
for me half: in my opinion up/down is misleading - up is always in the
direction of the greater number (mathematical +, also see .upto),
even seems to round to the nearest even number. Why is there is no odd
(I would assume in all use cases odd is needed the same as even, besides
that nobody would need any of them, or?
Andrew