Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Check if integer or decimal variable
Message
De
17/01/2008 09:33:37
 
 
À
17/01/2008 09:30:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01282531
Message ID:
01282553
Vues:
12
Thanks Sylvain. Got a similar type solution testing for the ".". Thanks.

>OK then, how about:
IF LEN (TRANSFORM (INT (MyValue))) = LEN (TRANSFORM (MyValue)) ...
>
>>Except the particular value I test while looping through the data may be decimal based but the decimal portion happens to be .0. In other words, and perhaps this is a language problem with you beng in Qatar and all, I need to know whether the variable being tested has a decimal point in it or not :)
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform