Apache Tajo - floor(x)



現在讓我們透過以下查詢來檢查 floor(x) 函式。

查詢

default> select floor(4.8) as floor; 

結果

上述查詢將生成以下結果。

 floor 
------- 
   4

此處,給定的值 4.8 被四捨五入到前一個整數值 4。

apache_tajo_math_functions.htm
廣告
© . All rights reserved.