Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.