Sign? - Function SummarySummary:Returns sign of number as 1, 0, or -1 (to use as multiplier). Usage:sign? number Arguments:number - The number argument. (must be: number money time) Description:The SIGN? function returns a positive, zero, or negative integer based on the sign of its argument.
The sign is returned as an integer to allow it to be used as a multiplication term within an expression:
Related:abs - Returns the absolute value.
| |||||
|