This tutorial explains how to use the MySQL FLOOR function with syntax and examples.
The MySQL FLOOR function returns the largest integer value that is equal to or less than a number.
The syntax for the FLOOR function in MySQL is:
The value used to find the largest integer value.
The FLOOR function can be used in the following versions of MySQL:
Let's look at some MySQL FLOOR function examples and explore how to use the FLOOR function in MySQL.
For example: