Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strtran() / Stuff() / Padr() ???
Message
From
04/08/1999 11:08:21
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
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:
00249763
Views:
28
>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

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform