-
Notifications
You must be signed in to change notification settings - Fork 0
Sign
hugh greene edited this page Jun 20, 2022
·
1 revision
Returns the sign of the number. sign(-4) returns -1, sign(0) returns 0.
- x: is a numeric argument whose sign (negative, positive, or 0) you are interested in obtaining.
Returns the sign of x, one of -1 (for negative), 0, or 1 (for positive).
// demonstrates
NOTOC
Category:Function:Real
edited by hpg678 on Github