@sidereal @futurebird TBH “int()” is not a mathematical function. Mathematics has floor, ceiling, and truncation, which are unambiguous. The problem here is computer scientists and engineers. Some of them have taken int() to mean the integer part as originally used by Legendre (which is, the floor), while others have chosen to use the truncation instead. (And then Excel that IIRC has it all wrong.)