[Python-Dev] Return type of round, floor, and ceil in 2.6 (original) (raw)
skip at pobox.com skip at pobox.com
Fri Jan 4 17:58:33 CET 2008
- Previous message: [Python-Dev] Return type of round, floor, and ceil in 2.6
- Next message: [Python-Dev] Return type of round, floor, and ceil in 2.6
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Guido> Looks like in Python 2.6, round(0.5) right now returns 0.0,
Guido> whereas in 2.5, it returns 1.0.
Guido> I think it should return 1.0, for best compatibility with Python
Guido> 2.5.
And for best compatibility with everything else! <0.5 wink>
Skip
- Previous message: [Python-Dev] Return type of round, floor, and ceil in 2.6
- Next message: [Python-Dev] Return type of round, floor, and ceil in 2.6
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]