Learn how to use the Oracle/PLSQL FLOOR function with syntax and examples.
The Oracle/PLSQL FLOOR function returns the largest integer value that is equal to or less than a number.
The syntax for the Oracle/PLSQL FLOOR function is:
FLOOR( number )
number is the value used to determine the largest integer value that is equal to or less than a number.
The FLOOR function can be used in the following versions of Oracle/PLSQL:
Let's look at some Oracle FLOOR function examples and explore how to use the FLOOR function in Oracle/PLSQL.
FLOOR(5.9) Result: 5 FLOOR(34.29) Result: 34 FLOOR(-5.9) Result: -6