Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TRANSFORM() depends on SET DECIMAL. Bug?
Message
De
21/07/2004 12:39:17
 
 
À
21/07/2004 11:36:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00926580
Message ID:
00926621
Vues:
16

Is this Visual FoxPro bug ?


Yes.
CLEAR
SET deci to 2
SET FIXED OFF
X=1.12545
? X,TRANSFORM(x),TRANSFORM(M.X,'@R 999999.99999'),CAST(x as c(10))
* Expected 1.12545 1.12545 1.12545 1.12545
SET FIXED ON
y=1.12545
? y,TRANSFORM(y),TRANSFORM(M.Y,'@R 999999.99999'),CAST(y as c(10))
* Expected 1.13 1.13 1.12545 1.12545
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform