Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strtran() / Stuff() / Padr() ???
Message
From
05/08/1999 01:20:06
Vinod Parwani
United Creations L.L.C.
Ad-Dulayl, Jordan
 
 
To
04/08/1999 11:08:21
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00249697
Message ID:
00250070
Views:
29
>>Input="###,###,###.##"
>>or
>>Input="##,###.####"
>>
>>What is the best way to replace # Signs after . with 0 ??
>>
>>(Output="###,###,###.00"
>>or
>>Output="##,###.0000"
>>
>>
>>TIA
>output=strtran(output, ".#",".0")
>do while "0#"$output
> output=strtran(output, "0#","00")
>endd

Nice Trick...

Thnks for your help...

(Its for that same project, which I told u before..)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform