[issue28993] math.ceil() python 2.7

Zachary Ware report at bugs.python.org
Fri Dec 16 15:31:28 EST 2016


Zachary Ware added the comment:

The `/` operator in Python 2 does integer division.  `math.ceil(10/3)` in Python 2 is equivalent to `math.ceil(3)`.

----------
nosy: +zach.ware
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28993>
_______________________________________


More information about the Python-bugs-list mailing list