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