6.1.2.10.1.8 Sgn
Function Declaration
-
Function Sgn(Number As Variant) As Variant
Parameter |
Description |
---|---|
Number |
Double containing any valid numeric expression. |
Runtime Semantics.
§ Returns an Integer indicating the sign of a number, according to the following table:
If number is |
|
---|---|
Greater than zero |
|
Equal to zero |
|
Less than zero |
|
§ The sign of the number argument determines the return value of the Sgn function.