#4914: trunc is in math.
This commit is contained in:
parent
79f722da6c
commit
bb550c99cb
|
@ -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 | |
|
||||
|
|
Loading…
Reference in New Issue