Abs function (LotusScript Language)

Returns the absolute value of a numeric expression.

Syntax

Abs ( numExpr )

Elements

numExpr

Any numeric expression.

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


Additional Documentation | Trademarks |