Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TRANSFORM bug ?
Message
De
17/07/2000 09:42:33
Walter Meester
HoogkarspelPays-Bas
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00393170
Message ID:
00393223
Vues:
28
Mark,

I was using the TRANSFORM function when I need automatic transformation from numeric to string.

9 --> "9"
9.1 --> "9.1"
9.21 --> "9.21"

etc..

Since I encountered this bug, I solved this problem otherwise.

Walter,

>>Hi all,
>>
>>TRANSFORM(9.2) seems to output 9.199999999999999
>>
>>Can anyone confirm this bug ???
>>
>>Walter,
>
>I get the same as you, but I always pass the second parameter as well. Since I have SET('decimal') valued at 2, I get the correct return value of 9.20 as a character string.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform