Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on How to compare floats in Python. Parent comment
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.
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...