Calculates the sign of a number.

Input Fields

  • number: The number to test the sign of

Output Fields

  • Output is either:

    • -1 if the input is a negative number

    • 0 if the input is zero

    • 1 if the input is a positive number

See Also

Functions in Workflows

About the elements of Okta Workflows