Mega Code Archive

 
Categories / MySQL / Math
 

Retrieve the largest integer that is not greater than a specified value

mysql> mysql> SELECT FLOOR(9.327); +--------------+ | FLOOR(9.327) | +--------------+ |            9 | +--------------+ 1 row in set (0.00 sec) mysql>