Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help with transform()
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01120810
Message ID:
01120814
Vues:
26
>I'm using the following syntax to display a numeric value:
>
>
>? "Total: " + transform(m.nNumber,'@( 999,999,999.99')
>
>
>My output looks like:
>
>Total: (          3.45)
>
>
>I want my output to look like:
>
>Total:           (3.45)
>
>
>Is there any way to accomplish this?
>
>P.S. I need to allow for the larger number as it may sometimes reach 100 million.
>
>Thanks for your help!
?PADL(CHRTRAN(TRANSFORMm.nNumber,"@( 999,999,999.99")," ",""),16)
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform