To all of you, floating point values are rarely exact. Therefore testing with == will rarely work.
For example, if you entered 46, the actual value stored in the variable might be 46.000001 or 45.9999997, neither of which is equal to 46.
Reputation Points: 3275
Solved Threads: 890
Posting Sage
Offline 7,716 posts
since May 2006