Free cookie consent management tool by TermsFeed abs() Function
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

Single number

1
abs(-2.0)

Returns 2.

List of numbers

1
abs({-1, -2.3, -6.78})

Returns {1, 2.3, 6.78}. If the number is a list of numbers, then the function returns a list of absolute values.

Feature compatibility

The table below lists this function's compatibility with various features in Appian.
Feature Compatibility Note
Portals Compatible
Offline Mobile Compatible
Sync-Time Custom Record Fields Compatible

Can be used to create a custom record field that only evaluates at sync time.

Real-Time Custom Record Fields Incompatible

Custom record fields that evaluate in real time must be configured using one or more Custom Field functions.

Process Reports Compatible
Process Events Compatible

abs() Function

FEEDBACK