[Python-bugs-list] [ python-Bugs-501288 ] problems with divising
noreply@sourceforge.net
noreply@sourceforge.net
Wed, 09 Jan 2002 05:29:04 -0800
Bugs item #501288, was opened at 2002-01-09 05:28
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=501288&group_id=5470
Category: Python Interpreter Core
Group: Python 2.1.1
Status: Open
Resolution: None
Priority: 5
Submitted By: Zsolt Cserna (csernazs)
Assigned to: Nobody/Anonymous (nobody)
Summary: problems with divising
Initial Comment:
I have problems with divising (int/float) in python
2.1.1. For example, if I try divide two numbers
(45/100.0), the result of this will be not correct.
>>> 45/100.0
0.45000000000000001
Python 2.1.1+ (#1, Jan 8 2002, 00:37:12)
[GCC 2.95.4 20011006 (Debian prerelease)] on linux2
With python 1.5 it works correctly.
Thanks for help.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=501288&group_id=5470