Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Comparing values
Message
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00740877
Message ID:
00740926
Vues:
12
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform