News for hackers. Stuff that matters.
Re:How to compare floats in Python by eru on Thursday March 31, 2022 @01:45AM (#30864188)
Rounding to even makes sense for human-facing decimals as well.

That's what they do in accounting, I think? At least Wikipedia tells me it's also called banker's rounding.

Incidentally, it's also what Python's Decimal does by default. See https://docs.python.org/3/library/decimal.html#rounding-mode...

There are no comments on this comment yet.