j
k
j a
j l
Ops,
I believe you were caught by int versus float here:
In [16]:around(66.0, decimals=-1) Out[16]:70.0
In [17]:around(66, decimals=-1) Out[17]:60
Note that in the int case, it seems like round is simply truncation.
Paulo
Back to the thread
Back to the list