Apache Tajo - floor(x)



Let us now check the floor(x) function with the following query.

Query

default> select floor(4.8) as floor; 

Result

The above query will generate the following result.

 floor 
------- 
   4

Here, the given value 4.8 is rounded down to the previous integer value 4.

apache_tajo_math_functions.htm
Advertisements