Absolute Value

Calculate the absolute value of a number. The absolute value is the size of the number regardless of its negative or positive state.

Input

Field Definition Type Required
number Number for which an absolute value is returned. Number TRUE

Output

Field Definition Type
output Returned absolute value of an input number. Number

Example

The absolute value for both -5 and 5 is 5.

Related topics

Functions in Workflows

About the elements of Okta Workflows