when i debug, myVar1 is -0.8010, myVar2 is -0.2001. Which means that myVar2 is larger than myVar1 , which obviously does not satisfy the if statement, yet the code think it is statisfied and steps into the block after the if statement!!!!???????
I am using VS2010 debugger, i placed a breakpoint at the conditional statement, hover the cursor over the myVar1 and myVar2.
MyFunc1 and MyFunc2 are fucntions returning values of type double.
What do you mean by message?
when i hit the breakpoint at the if statement, then press F11 (step into), the code enter the block after if statement even though the condition is not true