What am I doing wrong?
>>> round(2.5), round(0.25, 1), round(0.025, 2)
(3.0, 0.3, 0.03)
>>> round(4.5), round(0.45, 1), round(0.045, 2)
(5.0, 0.5, 0.04)
Why is 0.025 rounded to 0.03 (up), but 0.045 to 0.04 (down)?
Using Python2.7 on OSX:
Python 2.7.10 (default, Jul 14 2015, 19:46:27)
[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.39)] on darwin