[New-bugs-announce] [issue31578] Unexpected Floating Point Division Result

hw report at bugs.python.org
Mon Sep 25 14:55:37 EDT 2017

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
messages: 302966
nosy: Hw
priority: normal
severity: normal
status: open
title: Unexpected Floating Point Division Result
type: behavior
versions: Python 2.7

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list