[New-bugs-announce] [issue18133] Modulus not calculating properly?

Joshua report at bugs.python.org
Tue Jun 4 19:10:34 CEST 2013

New submission from Joshua:

The Modulus doesn't seem to pull the proper remainder from simple calculations.  Look at the difference below between the remainder of a regular division calculation and the modulus:
Am I missing something???

>>> print (str(10.2 / 2))
>>> print (str(10.2 % 2))

components: Windows
messages: 190606
nosy: pccreator25
priority: normal
severity: normal
status: open
title: Modulus not calculating properly?
type: behavior
versions: Python 3.3

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list