Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Convert number to string and back
Message
De
31/03/2008 12:23:19
 
 
À
31/03/2008 12:21:45
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Divers
Thread ID:
01306961
Message ID:
01306999
Vues:
5
>>
>>This looks promising
>>
>>(1) store in reg:
>>transf(xxx)
>>
>>(2) get it back
>>yyy = eval(retrieved from reg)
>>
>
>Tried this:
>
>xxx = transform(1234.56789)
>
>yyy = eval("xxx")
>
>but the vartype of yyy is character, we still don't have a number
>
>Thank you, nice try, I thought we had it for a moment :)
>
>Carlos

Carlos,
xxx = transform(1234.56789)
yyy = eval(m.xxx) && no QUOTES
Gregory
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform