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:
00740878
Vues:
16
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform