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!

Determining Decimal Positions and Rounding Up or Down in Decode Statement

856366Apr 19 2011 — edited Apr 19 2011
I have an oracle view that I need to add a decode statement that will (1) determine if the field contains six decimal positions, (0.123456), then rounding up if the 6th number is 5 thru 9 and disregarding if the number is 0 thru 4; then place the results in as five decimal positions.

Any assistance is most appreciated.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 17 2011
Added on Apr 19 2011
5 comments
386 views