Fabs

Calculates the absolute value of a floating-point argument.

Syntax:

Fabs(x)

Parameters:

(f) x floating point number.

Returns:

(f) returns the absolute value of the argument.

 

Use this function to calculate the absolute value of a floating point argument. There is no error return.

Example:


a = -1.23
Message("Fabs(%a%) is", Fabs(a))
See Also:

Abs