Hi David.
>> The difference isn't between storing the value and printing it. This has to do with precision of the integer data type. An Integer is only 4 bytes in size. Try a Numeric or a Float (both 8 bytes) and you'll get 36000. <<
Excuse me? From the VFP on-line help:
Integer values 4 bytes -2147483647 to 2147483647
I would say the the issue here is definitely not one of precision. I think it is December's FPA that has a tip in in regarding DateTime math and rounding errors that may occur.
Marcia
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