changing default rounding mode from ROUND_HALF_EVEN to ROUND_HALF_UP

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

changing default rounding mode from ROUND_HALF_EVEN to ROUND_HALF_UP

Si Chen-2
Hey everybody,

You may have seen the email from Leon Torres earlier about rounding.  
I think we should change the arithmetic settings to ROUND_HALF_UP  
from ROUND_HALF_EVEN, for the following reason:

0.825 ROUND_HALF_UP: 0.83
0.824 ROUND_HALF_UP: 0.82
0.825 ROUND_HALF_EVEN: 0.82
0.824 ROUND_HALF_EVEN: 0.82

This would involve modifying the arithmetic.properties file and then  
taking a look at the Calculate operation in minilang and its default  
rounding mode.

Si
 
Reply | Threaded
Open this post in threaded view
|

Re: changing default rounding mode from ROUND_HALF_EVEN to ROUND_HALF_UP

BJ Freeman
I have to dig into it to figure out how it will keep track of which half
it is doing compared to Cr Db.
for instance if the odds make the Cr side round up and the DB side round
down. it would be hard to re-concile.

For tax purposes if find but what is the error for say one Million in
sales. against $600,000 in costs.


Si Chen sent the following on 6/30/2006 2:16 PM:

> Hey everybody,
>
> You may have seen the email from Leon Torres earlier about rounding.  I
> think we should change the arithmetic settings to ROUND_HALF_UP from
> ROUND_HALF_EVEN, for the following reason:
>
> 0.825 ROUND_HALF_UP: 0.83
> 0.824 ROUND_HALF_UP: 0.82
> 0.825 ROUND_HALF_EVEN: 0.82
> 0.824 ROUND_HALF_EVEN: 0.82
>
> This would involve modifying the arithmetic.properties file and then
> taking a look at the Calculate operation in minilang and its default
> rounding mode.
>
> Si
>  
>