portableSql

Floor Portable SQL Function

Syntax

Floor as N (Number as N)

Arguments

NumberNumeric

A numeric field or value.

Returns

resultNumeric

Returns the largest integer that is less than or equal to the specified numeric value.

Description

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

Discussion

The Floor function the largest integer that is less than or equal to the specified numeric value.

Floor() function executed on the Northwind Access database
SELECT FIRST 1 Floor(-1.2) AS EXPR1, Floor(11.7) AS EXPR2 FROM Products
 = -2|11