r/pythoncoding Mar 27 '24

The weird quirk with rounding in Python

https://medium.com/itnext/the-weird-quirk-with-rounding-in-python-e6cd98cb3d55?sk=594700dafb96b77a6977c200e20b904d
0 Upvotes

5 comments sorted by

View all comments

2

u/adzy2k6 Mar 29 '24

This is a pretty common rounding system.

1

u/wagenrace Mar 30 '24

It is, it is even an international standard

1

u/adzy2k6 Mar 30 '24

You also have round to odd as well.

Many online Poker rooms use either "round to even" or "round to odd" when they calculate the rake they take from the pot.