Issue 18133: Modulus not calculating properly? (original) (raw)

Issue18133

Created on 2013-06-04 17:10 by pccreator25, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (2)
msg190606 - (view) Author: Joshua (pccreator25) Date: 2013-06-04 17:10
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 >>>
msg190607 - (view) Author: Joshua (pccreator25) Date: 2013-06-04 17:44
never mind, long day sorry!
History
Date User Action Args
2022-04-11 14:57:46 admin set github: 62333
2013-06-04 17:44:11 pccreator25 set status: open -> closedresolution: works for memessages: +
2013-06-04 17:10:34 pccreator25 create