Apache Tajo - round(x)



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

查詢

default> select round(7.8) as round;

結果

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

round 
------------------------------- 
8

在此,7.8 值使用 round() 函式,四捨五入為 8。

apache_tajo_math_functions.htm
廣告
© . All rights reserved.