Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Small number to string conversion
Message
 
To
17/05/2006 22:40:43
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01123084
Message ID:
01123169
Views:
26
Hello Michel,

Strange, I never considered using PADL(), PADR(), PADC() on anything but strings, just never occured to me that you could use numbers even though the help correctly states it can be any expression type but Logical/General.

Thanks for the tip...

Bob


>This one seems to work:
>
>
>lnAmount=29.95
>MESSAGEBOX(ALLTRIM(PADL(lnAmount,20)))
>
'If the people lead, the leaders will follow'
'War does not determine who is RIGHT, just who is LEFT'
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform