Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Convert number to string and back
Message
 
 
To
31/03/2008 12:02:05
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01306961
Message ID:
01306980
Views:
7
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform