I have to weigh in on the 'not a bug' side. Maybe it's my science and engineering background. A field spec of NUMERIC(10,2) means two places after the decimal. The PROPER representation then, of 10.2 is exactly what the TRANSFORM produces, 10.20.
That said, they should have told us (or kept the docs more in line with actual behavior?), we shouldn't have had to gone through headscratching and posting on a public forum to realize the behavior has changed.
Randy
>I have this common lines:
>
>CREATE CURSOR test(Num NUMERIC(10,2))
>APPEND BLANK
>REPLACE Num WITH 10.2
>
>
>In VFP 6.0 if i issue this command:
>? TRAN(Num) i have this result 10.2
>
>In VFP 7.0 SP1, witnh the same command i have this result 10.20 .... i supect that this behavior is changed from SP1 ... anyone can confirm this supect ? .. and is a Feauture or is an Introduced Bug ??
>
>Emanuele
Précédent
Suivant
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