Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Decimal precision is of a variable
Message
De
14/09/1998 15:33:02
 
 
À
14/09/1998 15:29:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00136301
Message ID:
00136377
Vues:
28
Hi Craig (and Alvin)

>>Is there a command that returns the decimal precision of a variable?
>>
>>Example a=1.00 is 2 decimal
>> a=1 is 0
>>
>>TIA
>
>Look at SET DECIMALS.

....And to check, try nVar = SET("DECIMALS"). nVar will be the precision.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform