Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
If I have 3 Eu in this hand and 2 $ in the other ..
Message
From
18/12/2001 20:30:32
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00595941
Message ID:
00595949
Views:
34
>>How do I format a currency with something other than a dollar sign. I have tried setting the Windows settings to another currency and then setting VFP to use the windows settings but when I
>>? trans(12,345.56,'$$,$$$.99')
>>
>>
>>it is still $
>>
>>Thanks
>
>Answered my own question!
>? trans(12345.56,'@$$,$$$.99')
>
>
>the @ sign forces the alternate currency symbols.


Did you notice you lost your comma? Seems to be a result of using the @.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform