I just recently heard that python typically rounds 4.5 to 4 and 5.5 to 6. I need the program to always round up .5 to the bigger number. ALso, I am kinda new to python, this program is probably close to the extent of my coding knowledge. The program rounding down instead of up in certain iterations really screws up other iterations. Any tips?
Asked
Active
Viewed 23 times
0
-
https://en.wikipedia.org/wiki/IEEE_754#Rounding_rules especially: https://en.wikipedia.org/wiki/Rounding#Round_half_to_even – hiro protagonist Sep 05 '22 at 11:05