Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Currency in Reports
Message
De
20/01/2001 12:17:23
 
 
À
20/01/2001 10:14:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00466164
Message ID:
00466186
Vues:
16
>I have the need to display currency left justified and trimmed of blank spaces with two decimals and thousands seperator.
>
>If I use the format @B$ by selecting the Currency and the Left Justify option I get the following:
>$123456.1234
>
>If I change it to $999,999.99 I get the following
>$ 456.66
>$123,123.55
>
>I need
>
>$1.55
>$123.45
>$123,345.99
>
>What am I missing?


Try
* Before runniung report
SET DECIMALS TO 2

*For output:
? TRANSFORM(yCurrencyvalue)

>
>TIA
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