sign() Function

Function

sign( number )

Returns the number divided by its absolute value, which is 1 if the number is positive and -1 if the number is negative.

Parameters

Keyword Type Description

number

Decimal

The number that will be divided by its absolute value.

Returns

Integer

Usage considerations

If the number value is equal to zero, the function returns 1.

Examples

sign(-3) returns -1

Feature compatibility

The table below lists this function's compatibility with various features in Appian.
Feature Compatibility Note
Portals Compatible
Offline Mobile Compatible
Custom Record Field Expressions Compatible
Process Reports Compatible
Process Events Compatible
Open in Github Built: Mon, Nov 21, 2022 (01:52:20 PM)

On This Page

FEEDBACK