[Doc-SIG] Re: Issues with 2.1 doc PDF files
Guido van Rossum
guido@digicool.com
Wed, 25 Apr 2001 15:41:03 -0500
> Being curious, I typed the following into Pythonwin and am
> quite baffled by the results:
>
> PythonWin 2.0 (#8, Oct 16 2000, 17:27:58) [MSC 32 bit (Intel)]
> [...]
> >>> x = 10 * 3.14
> >>> x
> 31.400000000000002
> >>> x == 31.4
> 0
> >>> 3.14
> 3.1400000000000001
> >>>
Yes, this is baffling at first, and a FAQ, if you knwo where to look:
http://www.python.org/cgi-bin/moinmoin/FrequentlyAskedQuestions#line24
--Guido van Rossum (home page: http://www.python.org/~guido/)