I found this note:
1895981 - to_decimal no longer provides rounding
*************************************************************************
In SP06:
select to_decimal(1.249,3,2) from dummy
returns 1.24
In SP05 and eariler:
select to_decimal(1.249,3,2) from dummy
returns 1.25
Reason and Prerequisites
In SP06, to_decimal no longer provide rounding implicitly.
This is by design
Solution
User can nest round function explicitly.
eg:
select to_decimal(roun(1.249,2),3,2) from dummy
This will return 1.25 as before.
**************************************************************************
Not sure if I am suppose to use round function. is is going to change in SPS7 or future releases?
Thanks,
Nitesh