Carrot reference
Functions

abs()

Returns the absolute value of a given value.

Syntax

abs(value)

  • value - the value to be evaluated by the function.
    • Input value must be of type Number.
  • Return type: Number.

Sample usage

abs(-10) returns 10.

Supported data types

Input type

Return type

Logic

Number

Number

No type conversion.

Unsupported data types

Null

Unsupported data types return Null.



Updated 04 Oct 2023
Doc contributor
Did this page help you?