Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strtran() / Stuff() / Padr() ???
Message
From
04/08/1999 11:40:52
 
 
To
04/08/1999 09:53:01
Vinod Parwani
United Creations L.L.C.
Ad-Dulayl, Jordan
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00249697
Message ID:
00249783
Views:
25
Hi Vinod,

>What is the best way to replace # Signs after . with 0 ??

I belive the best way (with strings of course) is
lcInput='###,###,###.##'
lcOutput=JUSTSTEM(lcInput)+'.'+STRTRAN(JUSTEXT(lcInput), '#', '0')
Much simpler.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform