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!

Round negative numbers to zero

68233Aug 19 2004 — edited Aug 19 2004
Hi

This is probably a really stupid question but how can I round a result to zero if the value is negative.

Example:
select points from members

1234
-234
9876

The value -234 should come out as 0
Rgds
Robert
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 16 2004
Added on Aug 19 2004
5 comments
10,567 views