Function Div(x, y)

Div

Div(
    x,      ! (input) numerical expression
    y       ! (input) numerical expression
    )

Arguments

x

A scalar numerical expression.

y

A scalar numerical expression unequal to 0.

Return Value

The function Div returns \(x\) divided by \(y\) rounded down to an integer.

Note

A run-time error results if y equals 0.

See also

Arithmetic functions are discussed in full detail in Arithmetic Functions of the Language Reference.