Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why?
Message
De
15/06/2000 11:30:39
 
 
À
14/06/2000 19:47:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Re: Why?
Divers
Thread ID:
00380373
Message ID:
00380765
Vues:
13
>>>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform