CEILING(X), CEIL(X) returns the smallest integer value not less than X. : CEILING : Math Numeric Functions MySQL TUTORIALS


MySQL TUTORIALS » Math Numeric Functions » CEILING »

 

CEILING(X), CEIL(X) returns the smallest integer value not less than X.


mysql>
mysql>
mysql> SELECT CEILING(1.23);
+---------------+
| CEILING(1.23|
+---------------+
|             |
+---------------+
row in set (0.00 sec)

mysql>
mysql> SELECT CEIL(-1.23);
+-------------+
| CEIL(-1.23|
+-------------+
|          -|
+-------------+
row in set (0.00 sec)



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

MySQL TUTORIALS

 Navioo Math Numeric Functions
» CEILING