Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What is the equivalent of str(OEPDM,2,0,'0') in vfp
Message
 
 
To
23/04/2002 21:00:50
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00648196
Message ID:
00648510
Views:
17
James,

>I didn't know you could specify the decimal length with a padl function?

You can't, but since his calls were all doing no decimal places padl() will work. If you need decimal places you can use a str() inside the padl():
? padl( alltrim( str( lnTheNumber, 10, 5 ) ), 10, '0' )
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform