In this post explains how to use the FLOOR function in SQL Server (Transact-SQL) with syntax and examples.
In SQL Server (Transact-SQL), the FLOOR function returns the largest integer value that is equal to or less than a number.
The syntax for the FLOOR function in SQL Server (Transact-SQL) is:
The value used to determine the largest integer value that is equal to or less than a number.
The FLOOR function can be used in the following versions of SQL Server (Transact-SQL):
Let's look at some SQL Server FLOOR function examples and explore how to use the FLOOR function in SQL Server (Transact-SQL).
For example: