Modulo

Supported in: Batch, Streaming

Returns modulus of an expression.

Expression categories: Numeric

Declared arguments

  • Denominator - no description
    Expression<DefiniteNumeric>
  • Numerator - no description
    Expression<DefiniteNumeric>

Output type: DefiniteNumeric

Examples

Example 1: Base case

Argument values:

  • Denominator: 4
  • Numerator: 10.123

Output: 2.123


Example 2: Base case

Argument values:

  • Denominator: 2
  • Numerator: null

Output: null