Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Transform error
Message
 
 
À
23/10/2001 14:54:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Divers
Thread ID:
00572138
Message ID:
00572232
Vues:
21
>I did a SET DECIMALS TO 2, that was not the problem. The transform error seems to occur only in a compiled .exe, not from the command window. I did another test:
>
>transform(9999999.99,"999999999.99") returns "9999999.99" as expected.
>transform(10000000.01,"999999999.99") return "10000000.00" - not expected.
>
>Go figure (literally)!

I've just created a test project with only one test program included with the following lines:
?transform(9999999.99,"999999999.99") &&returns "9999999.99" as expected.
?transform(10000000.01,"999999999.99")

Both returned correct results...
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform