You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
angerangel edited this page Mar 19, 2013
·
1 revision
USAGE
SIGN? number
DESCRIPTION
Returns sign of number as 1, 0, or -1 (to use as multiplier).
SIGN? is a function value.
ARGUMENTS
number (number! money! time!)
#SOURCE
sign?: make function! [ [
{Returns sign of number as 1, 0, or -1 (to use as multiplier).}
number [number! money! time!]
][
case [
positive? number [1]
negative? number [-1]
true [0]
]
] ]