Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Convert number to string and back
Message
 
 
À
31/03/2008 12:02:05
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:
01306980
Vues:
6
>>No, this should be rtrim(padr(xxx,100))
>
>
>Why, if I may ask ??
>

AFAIK transform has a bug related with SET FIXED (or SET DECIMALS).

That's why PADR solution is preferrable. I wanted to even suggest it, but was not sure about the retrieval part.

>>
>>>(2) get it back
>>>yyy = eval(retrieved from reg)
>>>
>>
>>Good idea.

EVALUATE, I hope, would work, though I'm not 100% sure here either.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform