R. David Murray added the comment:
In the absence of the appropriate __future__ import, the python2 division
operator uses integer division.
--
nosy: +r.david.murray
resolution: -> not a bug
stage: -> resolved
status: open -> closed
___
Python trac
New submission from hw:
To reproduce:
>>> 480/1000/13.0
Actual result: 0.0
Expected result: 0.03692307692307692
Adding the zero decimal to any other combinations of the numbers produces the
expected floating point result.
Working as expected in Python 3
--
components: Interpreter Core