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:
00401788
Vues:
23
>Hi everyone!!
>Is there a way to show the values in the accountant-style?
>i.e:
>-12,345.99 ---> (12,456.99)
>

You can use the TRANSFORM() function - the "@(" format specified in the formatting string of the TRANSFORM() does this.

? TRANSFORM(-12345.99,"@( 999,999.99")
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