executablebooks / jupyter-book

Create beautiful, publication-quality books and documents from computational content.

Home Page:http://jupyterbook.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Imprecise description of round on page /pages/data_types/coercion.html

lukeu opened this issue · comments

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.)

Thanks for opening your first issue here! Engagement like this is essential for open source projects! 🤗

If you haven't done so already, check out EBP's Code of Conduct. Also, please try to follow the issue template as it helps other community members to contribute more effectively.

If your issue is a feature request, others may react to it, to raise its prominence (see Feature Voting).

Welcome to the EBP community! 🎉