This is an old revision of the document!
Table of Contents
SGN
Syntax
N = SGN( X )
Parameters
X is a number
Description
The sign of X: -1 if X < 0, 0 if X = 0, and +1 if X > 0.
This is an old revision of the document!
N = SGN( X )
X is a number
The sign of X: -1 if X < 0, 0 if X = 0, and +1 if X > 0.