LOTUSSCRIPT LANGUAGE


Abs function
Example

Returns the absolute value of a numeric expression.

Syntax

Abs ( numExpr )

Elements

numExpr


Return value

Abs returns the absolute value of numExpr.

The data type of the return value is the same as the data type of numExpr, unless numExpr is a Variant. In that case, the following rules apply:


Usage

The absolute value of a number is its unsigned magnitude; for example, 3 and -3 both have an absolute value of 3.

Language cross-reference

@Abs function in formula language

Example
See Also