#4914: trunc is in math.

This commit is contained in:
Georg Brandl 2009-01-18 10:48:16 +00:00
parent 79f722da6c
commit bb550c99cb
1 changed files with 1 additions and 1 deletions

View File

@ -375,7 +375,7 @@ All :class:`numbers.Real` types (:class:`int`, :class:`long`, and
+--------------------+------------------------------------+--------+
| Operation | Result | Notes |
+====================+====================================+========+
| ``trunc(x)`` | *x* truncated to Integral | |
| ``math.trunc(x)`` | *x* truncated to Integral | |
+--------------------+------------------------------------+--------+
| ``round(x[, n])`` | *x* rounded to n digits, | |
| | rounding half to even. If n is | |