Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
$5 difference due to rounding?
Message
 
 
To
14/11/2006 16:06:35
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., New Zealand
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01169448
Message ID:
01169648
Views:
14
>Naomi,
>
>Currency values are rounded to 4 decimal places, even if you can only see 2.
>
>Try this:
>
>
>*---calculate commission of 33%
>
>? 24.93 *33/100
>
>? $24.93 *33/100
>
>
Thanks. In my case the values I operate with are all numeric to begin with, so perhaps I should not use currency as well.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform