Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Currency / Numeric
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00727690
Message ID:
00727699
Views:
9
>What are the pros and cons in using Currency instead of numeric type fields?

the pros and cons depend on what you have to do...

>The fields will be used to store money amounts with 2 digits (example: price 9999999999.99, total 99999999999.99 etc.) Precision of 2 digits is sufficient.

currency are rounded to 4 decimals even if you specify more than 4

>Are there other benefits in choosing Currency fields besides the less space required for storing the data?

you can have the currecy sysmbol automatically displayed (see "set currency" and transform())

>Are there any global settings to instruct currency fields to displace and print 2 digits instead of 4 that is the default?

look at "Set decimals"

>Thanks

You are welcome, HTH

franco
Previous
Reply
Map
View

Click here to load this message in the networking platform