floor

Returns the largest integer that is less than or equal to "numeric_expression".

Syntax

floor ( numeric_expression )

Example 1

floor ( 3.22 )

Result

3

Example 2

floor ( -1.23 )

Result

-2