Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mathematical rounding
Message
From
01/02/2005 07:20:34
 
 
To
31/01/2005 18:34:49
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00982326
Message ID:
00982624
Views:
19
PMFJI

>There is of course yet another method of rounding, who's name eludes me so I'll call it statistical rounding, which is just like rounding off except that if the digits that you are removing are a five followed all zeros you round to the nearest even number instead of up. This balances out the small bias towards rounding up.

It's called "round to even".

Glad you mentioned that there are other things than just "economics/currencies". I'm quite surprised that no one asked Peter in what scenario the rounding takes place (although with 12.345 it really doesn't matter). What would have happened when Peter wanted to round to two decimal places <bg>.

Bruno
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform