Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Digits after the dot
Message
De
29/01/2006 06:41:05
 
 
À
29/01/2006 06:32:31
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:
01091245
Vues:
14
This message has been marked as the solution to the initial question of the thread.
>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 ###.##%'))
Gregory
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform