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))
5.1
>>> print (str(10.2 % 2))
0.1999999999999993
>>>

----------
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 <rep...@bugs.python.org>
<http://bugs.python.org/issue18133>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to