Sign
  • 27 May 2022
  • 1 Minute to read
  • Dark
    Light
  • PDF

Sign

  • Dark
    Light
  • PDF

Article Summary

Returns -1 if the parameter is a negative number, 1 if it is positive, and 0 if it is zero. Returns null if it's not a number.

Function signature

SIGN(number: Number) => Number
ParameterDescription
NumberNumber to check

Examples

FormulaReturn value
SIGN(4)1
SIGN(-4)-1
SIGN(0)0

Was this article helpful?

What's Next