Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Transform
Message
 
 
To
22/12/2000 12:45:39
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00455636
Message ID:
00456437
Views:
28
>I checked these suggestions from curiosity, nothing else. I have come to the following conclusions:
>
>1) the transform(x, "$999,999") and variants aren't actually making VFP print in currency format. The $ is being reproduced as a literal. This may (or may not) be why you get the .00.
>
>I think the correct format for what you want is
>
>>Transform(x, "@Z$ 999,999")
>
>Note the space -after- the $ sign.
>
>Actually, I have a small advantage: when I print currency, I get a £ (pound) sign if it works. Your formats gave me a dollar sign, indicating the literal.
>
>Hope this isn't too late!
>
>MSS
Thanks again, Michael. I've just simplified my code using this. It's important to know.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform