about floating number

Graduate g8741082 at ccunix.ccu.edu.tw
Thu Oct 19 03:28:10 EDT 2000


 when I in python 2.0, I try to use floating number,
 but I have a proplem like this...
 >>> a = 2.8
 >>> a
 2.7999999999999998

 why? or I forget some step??
 I try this in Linux & windows...
 thanks...



More information about the Python-list mailing list