Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Small number to string conversion
Message
From
18/05/2006 11:14:50
 
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:
01123238
Views:
15
>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.

The following is good for as long as the total number of characters used in the value does not exceed 20. Fabio mentioned the use of CAST(), which I thought about last night but wasn't able to figure out the proper syntax, which might be better to fit all possibilities.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform