Skip to main content
Version: I2024.2.x

DIVIDE

Performs division and returns alternate result or BLANK() on division by zero.

Syntax

Divide (<numerator>, <denominator> [,<alternateresult>])

Input Parameters

numerator
The dividend or number to divide.

denominator
The divisor or number to divide by.

alternateresult
(Optional) The value returned when division by zero results in an error. When not provided, the default value is BLANK().

When denominator is zero, alternateresult must be a constant.

Return Value

Returns the quotient.