General information
Category:
Coding, syntax & commands
Hi,
What i did was save the variable using sql to a dbf and use afield.
Crude but it worked.
>>Is there a command that returns the decimal precision of a variable?
>>
>>Example a=1.00 is 2 decimal
>> a=1 is 0
>>
>>TIA
>
>There can't be one, because all numeric variables are, by default, IEEE floats. You may see, sometimes, rounded or integer or currency variables, when the variable is a result of assignment or calculation from table's field, but that's temporary. Just add 0.00000001 to a variable that's supposedly integer, it will suddenly have all the decimals it needs.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only