Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Testing for decimals
Message
De
19/03/2012 11:05:31
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01538660
Message ID:
01538670
Vues:
55
>>>>Hi All,
>>>>
>>>>What is the quickest way to test if a numeric table field has a decimal portion?
>>>
>>>int(field) <> field
>>
>>That tells me if the specific number in the field has a decimal portion. I need to know if the field definition itself has been set to have a decimal portion. For field type double TYPE() and VARTYPE() both return "N".
>
>What does AFIELDS return?
>
>BTW, I think I answered what you asked. You needed to be more precise in the question.

Thanks.
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
Répondre
Fil
Voir

Click here to load this message in the networking platform