Difference between revisions of "Sign"
m |
|||
Line 1: | Line 1: | ||
+ | [[Category:Math Functions]] | ||
+ | |||
''New to Analytica 4.2'' | ''New to Analytica 4.2'' | ||
Revision as of 06:24, 14 February 2009
New to Analytica 4.2
Sign(x)
The sign of a number.
Returns:
Library
Math
Notes
This function was not built into Analytica until release 4.2. It was common in 4.1 and earlier to define it as a user-defined function:
Function Sign(x) := if x<0 then -1 else if x>0 then 1 else 0
See Also
Comments
Enable comment auto-refresher