Returns the largest integer that is less than or equal to the specified value.
floor(numeric)
select floor(123)
----------- 123
select floor(123.45)
------- 123
select floor(1.2345E2)
-------------------- 123.000000
select floor(-123.45)
------- -124
select floor(-1.2345E2)
-------------------- -124.000000
select floor($123.45)
------------------------ 123.00
For numeric and decimal expressions, the results have a precision equal to that of the expression and a scale of 0.
ANSI SQL – Compliance level: Transact-SQL extension.
Any user can execute floor.