AMOSi:Sgn
Revision as of 02:45, 17 November 2007 by Spellcoder (talk | contribs) (Extracted from the AMOSPro V2.00 helpfile)
an example can be found on AMOSPro_Examples:Examples/H-6/Help_60.AMOS(value)
Finds the SiGN of a number:
Depending on the number, you'll get one of three possible values:
-1 if the number is negative
0 if it's zero 1 if the number is positive
s=Sgn(number)
s=Sgn(number#)