SIGN

<< Click to Display Table of Contents >>

 

SIGN

Returns -1 (minus one) if the value indicated in the @value parameter is negative, 0 (zero) if the value indicated in the @value parameter is 0 (zero), and 1 (one) if the value indicated in the @value parameter is positive.

 

Syntax

SIGN(@value)

 

Parameter

@value: Numeric value to evaluate

Was this page useful?