Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Rounding Solution

Manjusha MuraleedasJul 4 2018 — edited Jul 5 2018

Hi ,

I have a requirement to round off values as follows

93.45 -- should be 94

93.4 -- should be 93

93.8 --  should be 94

I have written a query as follows and works fine.

select round(round( (93.451),1)) from dual;

Do you have any other suggestions?

This post has been answered by Jonathan Lewis on Jul 4 2018
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 2 2018
Added on Jul 4 2018
12 comments
413 views