Difference between revisions of "AMOSi:Sgn"
Spellcoder (talk | contribs) m (1 revision(s)) |
Spellcoder (talk | contribs) (Extracted from the AMOSPro V2.00 helpfile) |
(No difference)
|
Revision as of 02:45, 17 November 2007
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#)