实例如下: mysql> SELECT FLOOR(2.3), FLOOR(-2.3); +------------+-------------+ | FLOOR(2.3) | FLOOR(-2.3) | +------------+-------------+ | 2 | -3 | +------------+-------------+ row in set (0.00 sec)