Hmmmm...
Seems puzzling isn't it ?
You have just dicosvered the mysteries and limits of binary operations. You thought the numbers were the same, this is true using the decimal system, and false in binary.
Attached is a simple modification of your vi : It calculate the difference between the compared numbers. That's why you should never rely on an equality test when working with floating point numbers...
And of course somebody else had already given the solution...
Message Edité par chilly charly le 11-15-2005 04:50 PM
Chilly Charly (aka CC)