>>>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement