Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why?
Message
From
15/06/2000 11:30:39
 
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Re: Why?
Miscellaneous
Thread ID:
00380373
Message ID:
00380765
Views:
14
>>>Why the return of 'int(12345678901234567.00)' is '12345678901234560' in VFP? It is bug?
>>
>>No, not really. There's a 16 digit limit of numeric accuracy. You can find it somewhere in the Help.
>
>SET VENT ON
>
>This is one of the biggest hurdles in converting our FPD2.6 app to VFP... The programmer used a 16 digit numeric field for the account number and when I open the accounts table in VFP, every account ending with 9 is rounded up !!!
>
>Seems like VFP has taken a step backward in this regard.
>
>SET VENT OFF

I think your biggest hurdle is a programmer using a numeric field for what should be a character record identification number. Unless you plan to add, subtract or divide account numbers, I would convert them to a character field.
Previous
Reply
Map
View

Click here to load this message in the networking platform