Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
返回第一个大于或等于给定值的整数。对于正数,这被称为向上舍入。
{ CEILING | CEIL } ( numeric-expression )
numeric-expression 要计算其上限的数字。
DOUBLE
此函数将其参数转换为 DOUBLE,并以双精度浮点运算执行计算。
SQL/2008 CEILING 函数是可选 SQL/2008 语言功能 T621 "增强数字函数" 的一部分。
以下语句返回值 60。
SELECT CEILING( 59.84567 );