Differences

This shows you the differences between two versions of the page.

Link to this comparison view

sgn [2019/05/24 08:23] (current)
neils created
Line 1: Line 1:
 +====== SGN() ======
  
 +Syntax:
 +
 +  sgn(<int of float expression>​)
 +  ​
 +The ''​SGN()''​ function returns the sign of a numerical argument as follows:
 +
 +^Argument^Result^
 +|negative value|-1|
 +|zero|0|
 +|positive value (excluding zero)| 1|