Abs()

<< Click to Display Table of Contents >>

Navigation:  Explain™ Control Language  > Library Routines > Mathematical functions >

Abs()

Description

Calculate the absolute value of a number.

 

The number may be an INDEX or a REAL. The value returned is the same type as the argument.

 

Type

REGULAR FUNCTION

 

Usage

Result = Abs(Number)

 

Number

REAL, INDEX

The Number to get the absolute value.

Result

REAL, INDEX

The absolute value of Number.