tech on the net

Oracle/PLSQL: Floor Function

In Oracle/PLSQL, the floor function returns the largest integer value that is equal to or less than a number.

Syntax

The syntax for the 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.

Applies To

For Example

floor(5.9) would return 5
floor(34.29) would return 34
floor(-5.9) would return -6