Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Transform Oddities
Message
De
04/07/2001 10:29:08
 
 
À
04/07/2001 09:11:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00526657
Message ID:
00526675
Vues:
21
This message has been marked as the solution to the initial question of the thread.
Will,
I use PADR() to convert numerics to character:
?RTRIM(PADR(-8.82, 20))
As an added benefit, PADx() respects the decimals:
?RTRIM(PADR(-8.82345, 20))
HTH
>Hello all,
>
>I have found an irregularity with the transform command and wonder if anyone else can come up with a solution for it.. (I remember something about this in the past but without a BUTM search, I have to ask you nice Putm's)
>
>Try this in the command window..
>
>? Transform(-8.81)
>? Transform(-8.82)
>
>These 2 lines give VERY different results on 2 win 95 machines here
>VFP6 SP4
>
>Also could someone give this a try in VFP7 - maybe it will give me an excuse to upgrade!
Daniel
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform