Icon FLOOR

Returns the highest integer less than or equal to a number.

Syntax
FLOOR(<NumericExpression>)

<NumericExpression> =

Type of:

SMALLINT
INTEGER|INT
BIGINT
FLOAT
DECIMAL|NUMERIC

Returns
INTEGER

Usage
The FLOOR function returns the highest integer less than or equal to a number.

Examples
SELECT SUM(FLOOR(Distance)) AS ApproxDistance
FROM Destinations

SQL 2003 Standard Deviations
This function deviates from the SQL 2003 standard in the following ways:

DeviationDetails
None
Image