Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Decimal bug
Message
From
13/03/2003 17:30:58
 
 
To
13/03/2003 14:19:49
Todd Cottengim
Alpine Land Information Services
Redding, California, United States
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Miscellaneous
Thread ID:
00765485
Message ID:
00765616
Views:
19
>>So what do you get on:
>>?m.lnValue
>
>I tried the following lines:
>m.lnValue = INT(nX / nY)
>?m.lnValue
>
>If SET DECIMAL is less than or equal to 10 I get 4
>If SET DECIMAL is greater than or equal to 11 I get 3.99999999996
>
>>Are you trying to store m.lnValue in the table? If so, what are field parameters?
>
>I do not store m.lnValue in a table. It is only used as a memory variable.
>
>TC
I always get 4 even if I go up to set decimal to 17!

Peter
Peter Cortiel
Previous
Reply
Map
View

Click here to load this message in the networking platform