Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Serious Error with Currency Data Type
Message
 
 
To
18/01/1999 21:36:13
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00177250
Message ID:
00177463
Views:
54
David,

Currency supports 15 digits to the left of the decimal place and 4 to the right. The real strength of that data type is in the support of large numbers.
ie national debt, GNP kinda of values, not the balance in my checking account. *s*

>Well I gotta say one thing, your typing speed must be darn impressive :-).
>But seriously, I agree with all that you've said, except that, really it's misleading to call it a currency type when it's only good for add ups. As I replied to Calvin, a common thing to do with currency is to calculate interest rates, which is often expressed to several decimal places of a percent. Therefore we could get serious rounding errors in what you would expect to be everyday calculations with money. I don't want to even think about those devalued currencies being converted back and forward with US$.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform