From `help(round)`:
Note that for rounding off a 5, the IEC 60559 standard (see also ‘IEEE 754’) is expected to be used, ‘_go to the even digit_’. Therefore ‘round(0.5)’ is ‘0’ and ‘round(-1.5)’ is ‘-2’. However, this is dependent on OS services [...]
Dec 29, 2022 · 5:43 PM UTC
12
