Issue 28993: math.ceil() python 2.7 (original) (raw)
Issue28993
Created on 2016-12-16 20:29 by akinfemi09, last changed 2022-04-11 14:58 by admin. This issue is now closed.
Messages (2) | ||
---|---|---|
msg283434 - (view) | Author: femi (akinfemi09) | Date: 2016-12-16 20:29 |
math.ceil(10/3) python 2.7.12 returns 3 | ||
msg283435 - (view) | Author: Zachary Ware (zach.ware) * ![]() |
Date: 2016-12-16 20:31 |
The `/` operator in Python 2 does integer division. `math.ceil(10/3)` in Python 2 is equivalent to `math.ceil(3)`. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:58:40 | admin | set | github: 73179 |
2016-12-16 20:31:28 | zach.ware | set | status: open -> closednosy: + zach.waremessages: + resolution: not a bugstage: resolved |
2016-12-16 20:29:42 | akinfemi09 | create |