[Python-ideas] float vs decimal

William Dode wilk at flibuste.net
Wed Mar 11 20:25:38 CET 2009


Hi,

I just read the blog post of gvr :
http://python-history.blogspot.com/2009/03/problem-with-integer-division.html

And i wonder why
>>> .33
0.33000000000000002
is still possible in a "very-high-level langage" like python3 ?

Why .33 could not be a Decimal directly ?

bye

-- 
William Dodé - http://flibuste.net
Informaticien Indépendant




More information about the Python-ideas mailing list