11-27-2009 10:13 AM
Solved! Go to Solution.
11-27-2009 10:34 AM - edited 11-27-2009 10:37 AM
Your fundamental problem is that you are performing an equality comparison on floats. This is incorrect when dealing with computers. You must, instead, perform an "approximately equal" based on the machine's epsilon value (found in the Numeric palette) as shown below:
Also:
11-27-2009 10:44 AM