Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Convert numeric to char
Message
De
25/04/2002 14:46:36
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00649247
Message ID:
00649252
Vues:
8
If I had a numeric value of 1.4476, how can I convert this to character and make it look exactly like numeric value ("1.4476"). whenever I do following I get just 1 character rounded up or down:
>
>ct = 1.4476
>x = str(ct)
>?x &&shows "1"
>
>I need it to show "1.4476"
>
>thanks
>Nick Patel


You should be able to use TRANSFORM()



- Brian


VFP6 SP5, VFP8 SP1, VFP 9 SP 1 and Win XP SP 3 (unless otherwise specified)


www.wulfsden.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform