# FDIV

Updated: 10/19/2021, 9:29:48 PM
Created: 10/19/2021, 9:29:48 PM
Last Updated By: Kevin Munoz
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)
1

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)
1

to display '0.1305732484'.

Go back to jBASE BASIC

Go back to Programmers' Reference Guide