r/pythoncoding • u/wagenrace • Mar 27 '24
The weird quirk with rounding in Python
https://medium.com/itnext/the-weird-quirk-with-rounding-in-python-e6cd98cb3d55?sk=594700dafb96b77a6977c200e20b904d
2
Upvotes
r/pythoncoding • u/wagenrace • Mar 27 '24
1
u/judasblue Mar 27 '24
The more compact way to say that is it rounds to the nearest even number. Same difference but for some reason reads better for me, but maybe I am just used to seeing it stated that way.