Apache Presto - Math Function ceiling(x)


Query

presto:default> select ceiling(4.7) as ceiling;

Result

 ceiling 
--------- 
   5.0

Ceiling of 4.7 is 5.0, which is rounded to the next integer.

apache_presto_sql_functions.htm
Advertisements