Python Forum

Full Version: Unexpected round behavior
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, I was using IDLE and trying to do: round(9/2) -- surprised that it says 4.. round(11/2) and round(7/2) all appear correct. How can we explain this behavior? thanks..