Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Picture Accountant style?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00401780
Message ID:
00401799
Vues:
16
>>You can use the TRANSFORM() function - the "@(" format specified in the formatting string of the TRANSFORM() does this.
>>
>>? TRANSFORM(-12345.99,"@( 999,999.99")
>
>Good idea, but this happens that the result has several blank spaces, my picture has to have about 20 characters wide, but not all of the amounts are this big:
>? TRANSFORM(-123456789.99,"@( 999,999,999,999.99")
>( 123,456,789.99)
>
>How can i rid off the spaces?

? STRTRAN(TRANSFORM(-123456789.99,"@( 999,999,999,999.99")," ","")

Now you have a problem with justification; good luck...
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform