abs() Function

Function

abs( number )

Returns the absolute value(s) of the specified number(s).

Parameters

Keyword Type Description

number

Decimal Array

A number or array of numbers, the absolute value(s) of which will be returned.

Returns

Decimal

Usage considerations

If the number values are integers, the function will return an integer.

Examples

abs(-2.0) returns 2

Open in Github Built: Tue, May 23, 2023 (06:12:33 PM)

On This Page

FEEDBACK