跳转至

Divide numbers(除法运算)

Supported in: Batch, Faster, Streaming

Divide one number by another number.

Expression categories: Numeric

Declared arguments

  • Left: Numerator.
    Expression\
  • Right: Denominator.
    Expression\

Output type: Decimal | Double

Examples

Example 1: Base case

Argument values:

  • Left: col_a
  • Right: col_b
col_a col_b Output
4 2 2.0
11 2 5.5


中文翻译

除法运算

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

将一个数字除以另一个数字。

表达式类别: 数值型(Numeric)

声明的参数

  • 左值(Left): 被除数(Numerator)。
    表达式\
  • 右值(Right): 除数(Denominator)。
    表达式\

输出类型: Decimal | Double

示例

示例1:基础案例

参数值:

  • 左值(Left): col_a
  • 右值(Right): col_b
col_a col_b 输出(Output)
4 2 2.0
11 2 5.5