Skip to main content
Returns the sign of a number: -1 if negative, 1 if positive, 0 if zero. Category: math Syntax:
Returns: IntColumn Context Filtering: ✓ Yes

Parameters

Allowed Column Types: INT, FLOAT, DECIMAL

Validation

  • Minimum parameters: 1
  • Maximum parameters: 1

Examples

Returns -1 for negative numbers. Result: -1
Returns 1 for positive numbers. Result: 1
Returns 0 for zero. Result: 0
  • Int - Round down to nearest integer
Last modified on March 13, 2026