DIV


The DIV function calculates the value of the quotient after division of the dividend by the divisor.

 

COMMAND SYNTAX

DIV(dividend, divisor)

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

 

EXAMPLE

I=400; K=200

J = DIV (I,K)

PRINT J

2: is the output of this program.


jBC