SGN(number)

Returns the sign of a number (Integer).


numberThe number you want the sign of.

REMARKS
* If "number" > 0, then 1 is returned.
* If "number" = 0, then 0 is returned.
* If "number" < 0, then -1 is returned.
* The equivalent .NET function is System.Math.Sign
* For the Microsoft documentation refer to docs.microsoft.com

Sgn(0) = 0 
Sng(-1) = -1
Sng(1) = 1
Sng(50) = 1
Sng(-50) = -1

© 2019 Better Solutions Limited. All Rights Reserved. © 2019 Better Solutions Limited Top