Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Currency / Numeric
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00727690
Message ID:
00727699
Vues:
10
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform