Contents

Dividing numbers

Return the result of dividing one number into another.

Overview

Use the div() function in the expression of a matchmaking rule to divide two numbers.

Declaration

number div(number $dividend, number $divisor)

Parameters

dividend

The number that the function divides.

divisor

The number that the function divides into dividend.

Return value

The result or quotient of dividing divisor into dividend. If divisor is zero, null.

See Also

Numeric functions