jupyter-book
jupyter-book copied to clipboard
Imprecise description of round on page /pages/data_types/coercion.html
print(int(-6.8))
returns -6 so to say it always rounds "down" seems imprecise. Should maybe say the truncation rounds towards zero?
(Disclaimer: I don't use Python, I just tried it in a repl.)