Divide | MATH_DIVIDE

Syntax

MATH_DIVIDE( [value], [other] )

Parameters

value
A number. If the value is not a NUMBER, the FLOAT operation will be used to convert it.

other
A number. If the value is not a NUMBER, the FLOAT operation will be used to convert it.

Return Value

Returns a number.

Description

Divide a value by another.

Examples

MATH_DIVIDE(4, 2) # returns 2
MATH_DIVIDE(null, null) # returns 0
MATH_DIVIDE("-14", "7") # returns -2