Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Picture Accountant style?
Message
From
07/08/2000 10:16:27
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00401780
Message ID:
00401799
Views:
15
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform