Mega Code Archive

 
Categories / Oracle PLSQL / Numeric Math Functions
 

ROUND(5 75)

SQL> --ROUND(x [, y])   Returns the result of rounding x an optional SQL> --                 y decimal places. If y is omitted, x is SQL> --                 rounded to zero decimal places. If y is SQL> --                 negative, x is rounded to the left of the SQL> --                 decimal point. SQL> SQL> select ROUND(5.75) from dual; ROUND(5.75) -----------           6 SQL>