Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Currency to Character string without rounding?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00395230
Message ID:
00395429
Views:
14
Marl,

The STR() funcitont akes 3 arguments, check the help file. They are the number to convert, the size of the string in characters, and the number of decimals. If you omit the other arguments you get a string with 10 characters and no decimals (thus your rounding). Try STR(CurrencyValue,10,2) or STR(CurrencyValue,10,4)
Previous
Reply
Map
View

Click here to load this message in the networking platform