Absolute value of

Returns the absolute value of a given number. Use this function to ensure numeric values are always returned as positive numbers.

Example use case

A bank want to know the difference between deposits into a customers savings account between this month and last month. Using the absolute value of function ensures the difference is always returned as a positive number, even if last months deposits were greater than this months.

Example eligibility rule

absolute value of difference between deposits this month and deposits last month

Absolute value of function example