Read Time: 1 minute(s)

Tags: mathematical operations floating point operations

# Description

This function performs floating point division on two numeric values. It takes the general form:

FDIV(expression1, expression2)

where both expression1 and expression2 must evaluate to non-null numeric values.

# Note

If either of the arguments evaluates to null then a run time "non-numeric" error will occur. If the second argument evaluates to zero then a run time "divide by zero" error will occur. The calculation is not subject to the PRECISION setting.

An example of use would be as:

CRT FDIV(0.41,3.14)

to display '0.1305732484'.

Go back to jBASE BASIC

Go back to Programmers' Reference Guide