Returns the result of dividing one number by another.
This function is provided for compatibility with other MultiValue systems.
DIV(dividend, divisor)
dividend, divisor
DataBasic expressions that evaluate to numeric values.
The result of dividing dividend by divisor.
If there is no PRECISION statement in the program, the value is returned rounded to the nearest four decimal places. Otherwise, the number of decimal places returned is as specified by the PRECISION statement.
A = 35 B = 7 C = DIV(A, B) PRINT C
Calculates and prints 35 / 7 (C = 5).