Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Currency in Reports
Message
From
20/01/2001 12:17:23
 
 
To
20/01/2001 10:14:21
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00466164
Message ID:
00466186
Views:
14
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform