[issue4061] summing two numbers-strange answer

Mehmet Yozcu report at bugs.python.org
Tue Oct 7 01:02:12 CEST 2008

New submission from Mehmet Yozcu <mhmtyozcu001 at gmail.com>:

I don't know what's wrong but when I write on the IDLE 
it gives an answer like 8.59999999996 or similar
when I write on the IDLE
print 2.3+6.3
the answer is 8.6 as I expected
I tried these two commands on the DrPython IDE;the result was the same.

Below, I copy-past everything on the consol screen with detail of my
system configuration. And I ask if someone can help me with this?
Thank you in advance.

mehmet at mehmet-desktop:~$ python
Python 2.5.2 (r252:60911, Jul 31 2008, 17:28:52) 
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> 2.3+6.3
>>> print 2.3+6.3

messages: 74408
nosy: mhmtyozcu001
severity: normal
status: open
title: summing two numbers-strange answer

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list