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
From
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:
00648496
Views:
19
I didn't know you could specify the decimal length with a padl function?

>padl() is indeed what you want.
>
>>This is what V.dbase help says about STR
>>
>>STR( [, [, [, ]]])
>>
>>expC
>>
>>The character to pad the beginning of the returned character string with when the length of the returned string is less than digits long. The default pad character is a space. If you want to specify a value for , you must also specify values for <
>>length expN> and . You can specify more than one character for , but STR( ) uses only the first one.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform