Sign

Return the sign of a number.

Input

Field Definition Type Required
number Number whose mathematical sign is returned. Number TRUE

Output

Field Definition Type
output

Sign of a specified numerical value:

  • -1 if the input is any negative number

  • 0 if the input is zero

  • 1 if the input is any positive number

Number

Related topics

Functions in Workflows

Elements of Workflows