SGN()

Syntax:

sgn(<int of float expression>)

The SGN() function returns the sign of a numerical argument as follows:

ArgumentResult
negative value-1
zero0
positive value (excluding zero) 1

Discussion

Enter your comment. Wiki syntax is allowed:
L X W J S
 
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies