Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Currency calculations. Bug?
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01505515
Message ID:
01505552
Views:
41
>>Rounding is supposed to be applyed to Currency value, and it is OK.
>>But it looks like rounding is applyed to each value in the expression no matter whether it is currency or not, and before the result is calculated !
>>Are you comfortable with this?
>>
>Check this blog post by Brad Schulz
>
>http://bradsruminations.blogspot.com/2009/11/throw-your-money-away.html

I like this passage from there:
*-----------------------------------------------------------
*I’ve personally never used the money datatype, and I certainly never will. 
* As the biblical saying goes: “For the love of money is the 
*root of all inaccurate calculations and currency confusion… oh yeah, and evil too.” 
*-------------------------------------------
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform