Warning

You're browsing the old v2.x documentation. This version is no longer maintained. Click here to go the v3.x documentation.

no way to compare when less than two revisions

Differences

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


sgn [2019/05/24 08:23] (current) – created neils
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|