Developer

@SIGN

The SIGN function takes a single decimal number parameter and returns -1, 0, or 1 if the parameter is negative, zero, or positive in value, respectively. The function may be called in an integral or decimal number context. The parameter is always evaluated as a decimal number.

Parameters

    @SIGN (Number)
  • Number Required number parameter; evaluated as either a decimal or integral number based on context. Contains the value whose sign is to be determined by the function.

Supported Return Types

  • Integral Number
  • Decimal Number