Skip to main content

Math: division

Calculates the division of two numbers. (dividend / divisor)

Division by zero fails the record — whether the zero comes from the Default divisor parameter or from the runtime divisor input.

Example
# Example with no default:
Input:
- dividend: 10
- divisor: 5
Output: 2

# Example with default dividend 10:
Input:
- divisor: 5
Output: 2

# Example with default divisor 5:
Input:
- dividend: 10
Output: 2

Parameters

Default dividend

Optional dividend to use in the division if no dividend input is provided. Leaving it empty makes the Dividend input required — a missing dividend then fails the record.

Default divisor

Optional divisor to use in the division if no divisor input is provided. Leaving it empty makes the Divisor input required — a missing divisor then fails the record. A zero divisor fails the record.

Input

Dividend (required if no default dividend)
Dividend to use in the division.
Divisor (required if no default divisor)

Divisor to use in the division. A zero divisor fails the record.

Output

Number
Result of the division.