Policies & Guidelines

ABS

Absolute value of a number

Description

Calculates the absolute value of the given number, i.e. if the number is negative, its positive value is returned.

Function signature

ABS(number: Number) => Number

Parameter

Description

Number

Number whose absolute value to return

Examples

Formula

Return value

ABS(4.9)

4.9

ABS(-3.71)

3.71

ABS(0)

0