DIV function

Syntax

DIV (dividend, divisor)

Description

Use the DIV function to calculate the value of the quotient after dividend is divided by divisor.

The dividend and divisor expressions can evaluate to any numeric value. The only exception is that divisor cannot be 0. If either dividend or divisor evaluates to the null value, null is returned.

Example

X=100;  Y=25
Z = DIV (X,Y)
PRINT Z

This is the program output:

4