FSUB function

Syntax

FSUB (number1, number2)
CALL !FSUB (result, number1, number2)

Description

Use the FSUB function to perform floating-point subtraction on two numeric values. number2 is subtracted from number1. If either number evaluates to the null value, null is returned. result equates to number1 minus number2.

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

Example

PRINT FSUB(.234,.567)

This is the program output:

-0.333