Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TRANFORM() Behavior ... changed from SP1 ???
Message
 
À
07/02/2002 08:17:53
Emanuele Bonin
EB Soluzioni Informatiche
Tezze S/B, Italie
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00616533
Message ID:
00616791
Vues:
34
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
Fil
Voir

Click here to load this message in the networking platform