abs() Function

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

Syntax

abs( number, … )

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

Returns

Decimal

Notes

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

Examples

abs(-2.0) returns 2

Open in Github Built: Thu, Feb 23, 2023 (02:59:22 PM)

On This Page

FEEDBACK