Apache-presto-math-function-ceiling

提供:Dev Guides
2020年6月22日 (月) 22:41時点におけるMaintenance script (トーク | 投稿記録)による版 (Imported from text file)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
移動先:案内検索

Apache Presto-数学関数の上限(x)

問い合わせ

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

結果

 ceiling
---------
   5.0

4.7の上限は5.0で、次の整数に丸められます。