Топ-100
 

CEILING

База данных: MySQL
Текст

Syntax:
CEILING(X)

Returns the smallest integer value not less than X.

URL: https://dev.mysql.com/doc/refman/8.0/en/mathematical-functions.html

Пример

mysql> SELECT CEILING(1.23);
-> 2
mysql> SELECT CEILING(-1.23);
-> -1