rounding problem

Aahz aahz at pythoncraft.com
Wed Feb 23 20:10:23 EST 2005


In article <gu6dnWNLB-FHuoDfRVn-tA at comcast.com>,
Andy Leszczynski  <leszczynscy at nospamyahoo.com> wrote:
>It is on Windows, Linux, Python 2.3:
>
>[GCC 3.3.2 (Mandrake Linux 10.0 3.3.2-6mdk)] on linux2
>Type "help", "copyright", "credits" or "license" for more information.
> >>> a=1.1
> >>> a
>1.1000000000000001
> >>>
>
>
>Is it normal?

http://www.python.org/doc/current/tut/node16.html
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"The joy of coding Python should be in seeing short, concise, readable
classes that express a lot of action in a small amount of clear code -- 
not in reams of trivial code that bores the reader to death."  --GvR



More information about the Python-list mailing list