Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Digits after the dot
Message
De
29/01/2006 06:47:02
 
 
À
29/01/2006 06:41:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01091244
Message ID:
01091246
Vues:
14
>>Hi all
>>How can I get the 2 digits after the dot.
>>For example
cpercent=alltrim(str(100*part/all))+'%'
I get 1% or 4%, but I want to get 1.32 or 3.76.
>>Thank's
>
>Chaim,
>
>
>?ltrim(transf(4, '@R ###.##%'))
>
Thank you
Thank you
Chaim
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform