Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
When to choose currency data type?
Message
 
To
20/08/2009 13:01:18
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01419279
Message ID:
01419463
Views:
82
I never use currency, because in our applications we need to be conscious about when we round intermediate results. Currency prevents this and frequently forces you to use NTOM() and MTON().

From a historical perspective: Most European developers got burned when they used currency about ten years ago when the Euro was introduced. Law requires that all calculation involving Euro and the former currency have to be done wit six significant digits. For the German currency that meant 5 significant decimal places, six for the Irish Pound.
--
Christof
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform