| title | FLOOR (SSIS Expression) | ||
|---|---|---|---|
| description | FLOOR (SSIS Expression) | ||
| author | chugugrace | ||
| ms.author | chugu | ||
| ms.date | 03/01/2017 | ||
| ms.service | sql | ||
| ms.subservice | integration-services | ||
| ms.topic | reference | ||
| helpviewer_keywords |
|
[!INCLUDEsqlserver-ssis]
Returns the largest integer that is less than or equal to a numeric expression.
FLOOR(numeric_expression)
numeric_expression
Is a valid numeric expression.
The numeric data type of the argument expression. The result is the integer portion of the calculated value in the same data type as numeric_expression.
FLOOR returns a null result if the argument is null.
These examples apply the FLOOR function to positive, negative, and zero values.
FLOOR(123.45)
Returns 123.00
FLOOR(-123.45)
Returns -124.00
FLOOR(0.00)
Returns 0.00