Hi,

I want to round up number to three decimal places.

I tried

trunc(x,3)

but it failed when trunc(52.5) = 52.5 and I wanted 52.500

I think I should use to_char(x,9999.999) but wait may be the numbers invlove will be very small or it could be really large so do you think I should use

t0_char(x,999999999999999.999) or is there any other good idea????


Thanks,