Welcome to jBASE's new documentation site! Many answers to your questions can be found by searching the Knowledgebase or viewing the jBASE Documentation. We also have a Google Group for peer discussion about jBASE. If you are unable to find the information you are looking for, jBASE Support will be glad to assist in resolving your technical problems. Enjoy and please provide comments and feedback .

How can we help you?



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.


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.

Was this article helpful?