[−][src]Module basic::__Chapter_3::SGN
SGN(X)
Returns the sign of X.
Returns -1 if X is negative, 1 if positive, and 0 if zero.
PRINT SGN(+1)
1
SGN(X)
Returns the sign of X.Returns -1 if X is negative, 1 if positive, and 0 if zero.
PRINT SGN(+1)
1