[Tutor] List problem

Stefan Stammberger highend@malwasandres.de
Sat Mar 22 09:49:01 2003


Hello,

I wrote a little script that reads info from a file and converts it into 
another (OK at the moment it just reads but everything else will come 
:P). But I have a little problem.

I have two numbers

first = 0.697
second = 4.02
first + second = 4.717

when i print out the summ of the two normaly it really prints out 4.717. 
But when i assign it into a list my sum suddenly changes into  
4.7169999999999996.
Anybody has a idea? Am I overlooking something here?

Thank you!

And sorry for my bad english :)