Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
lukeu opened this issue Mar 18, 2024 · 1 comment
Open

Comments

@lukeu
Copy link

lukeu commented Mar 18, 2024

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

Copy link

welcome bot commented Mar 18, 2024

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! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant