Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strtran() / Stuff() / Padr() ???
Message
De
05/08/1999 01:16:56
Vinod Parwani
United Creations L.L.C.
Ad-Dulayl, Jordanie
 
 
À
04/08/1999 11:40:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00249697
Message ID:
00250069
Vues:
20
>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...
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform