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:
00740926
Views:
11
Have you tried:
If not (dblVar1=dblVar2) Then ...
If dblVar1 <> dblVar2 Then ...
>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?
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Previous
Reply
Map
View

Click here to load this message in the networking platform