Example
SELECT FLOOR(25.75) AS FloorValue;Definition and Usage
The FLOOR() function returns the largest integer value that is smaller than or equal to a number.
Tip
Also look at the CEILING() and ROUND() functions.
Syntax
FLOOR(
number
)Parameter Values
| Parameter | Description |
|---|---|
| number | Required. A numeric value |
Technical Details
| Works in: | SQL Server (starting with 2008), Azure SQL Data Warehouse, Parallel Data Warehouse |
|---|