Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Decimal precision is of a variable
Message
From
14/09/1998 15:33:02
 
 
To
14/09/1998 15:29:23
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00136301
Message ID:
00136377
Views:
29
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform