Floor

Supported in: Batch, Streaming

Returns floor of a given fractional value.

Expression categories: Numeric

Declared arguments

  • Expression - The value to floor.
    Expression<Decimal | Double | Float>

Output type: Decimal | Long

Examples

Example 1: Base case

Argument values:

  • Expression: 10.123

Output: 10


Example 2: Base case

Argument values:

  • Expression: number
numberOutput
nullnull