Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Transform() bug
Message
De
16/11/1998 19:24:23
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Transform() bug
Divers
Thread ID:
00158067
Message ID:
00158067
Vues:
58
Run this code in VFP6.0!

What's up with this behavior?
Does Microsoft know about this?

**-- TRANSFORM() bug???
SET DECIMAL TO 6
x=8705014.002708
? TRANSFORM(x)
* Yields 8705014.002707999
? TRANSFORM(x, '9999999.999999')
* Yields 8705014.002708
SET DECIMAL TO 9
? TRANSFORM(x)
* Yields 8705014.002707999
? TRANSFORM(x, '9999999.999999')
* Yields 8705014.002707

If you change any of the digits around, the result changes, I'm beginning to think that TRANSFORM() is unreliable!
Ric Unruh
RicU@msn.com
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform