跳转至

Ceil(Ceil(向上取整))

Supported in: Batch, Faster, Streaming

Returns ceil of a given fractional value.

Expression categories: Numeric

Declared arguments

  • Expression: Fractional input value.
    Expression\

Output type: Decimal | Long

Examples

Example 1: Base case

Argument values:

  • Expression: 10.123

Output: 11


Example 2: Null case

Argument values:

  • Expression: number
number Output
null null


中文翻译


Ceil(向上取整)

支持:批处理(Batch)、快速处理(Faster)、流处理(Streaming)

返回给定小数值的向上取整结果。

表达式类别: 数值(Numeric)

声明的参数

  • 表达式(Expression): 小数输入值。
    表达式\

输出类型: Decimal | Long

示例

示例 1:基础情况

参数值:

  • 表达式: 10.123

输出: 11


示例 2:空值情况

参数值:

  • 表达式: number
number 输出
null null