FDIV function

Syntax

FDIV (number1, number2)
CALL !FDIV (return.array, number1, number2)

Description

Use the FDIV function to perform floating-point division on two numeric values. number1 is divided by number2. return.array equates to number1 divided by number2. If number2 is 0, a run-time error message is produced and a 0 is returned for the function. If either number evaluates to the null value, null is returned.

This function is provided for compatibility with existing software. You can also use the / operator to perform floating-point division.

Example

PRINT FDIV(.234,.567)

This is the program output:

0.4127