Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strtran() / Stuff() / Padr() ???
Message
From
05/08/1999 01:16:56
Vinod Parwani
United Creations L.L.C.
Ad-Dulayl, Jordan
 
 
To
04/08/1999 11:40:52
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00249697
Message ID:
00250069
Views:
19
>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.

Thnks a lot !!! Really very simple...

I remember this function (juststem), few days before it came in one of the vfp tips...

I'm using vfp 5.0, so have to use foxtools for that...

Thnks for ur help...
Previous
Reply
Map
View

Click here to load this message in the networking platform