A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2008-January/076503.html below:

[Python-Dev] trunc()

[Python-Dev] trunc() [Python-Dev] trunc()Raymond Hettinger python at rcn.com
Fri Jan 25 21:00:56 CET 2008
[GvR]
> Does no-one thinks it means round(f) either? 

Heck no.  The int() and round() functions have been in Lotus and Excel for an eternity and nobody has a problem learning what those functions do.

Also, the extra argument for round(f, n) makes it clear that it can return other floats rounded to n-digits.

I've taught a lot of classes to spreadsheet users and have observed that people get it right away.  


Raymond
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4