Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Comparing values
Message
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00740877
Message ID:
00740878
Views:
15
>I have two variables w/c are of type double. I assigned both the same value from a field of type double. When I compare these values with syntax:
>
If not dblVar1=dblVar2 Then ...
>it returns False eventhough the values of both variables are the same. How do you correctly compare type double variables?

But, you used a NOT in there.... so False would seem correct. Right?
The whole problem with the world is that fools and fanatics are always so certain of themselves, but wiser people so full of doubts. - Bertrand Russell
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform