|
|
|
|
|
| | |
VBscript Built-in Functions
Back to Function List
|
Sgn
Gives an integer specifying the sign of a number
Sgn(number)
The Sgn function has the following return values:
If number is |
Sgn returns |
Greater than zero |
1 |
Equal to zero |
0 |
Less than zero |
-1 |
The sign of the number argument determines the return value of the
Sgn function.
|
|
|
|
|
|
|
|
|
|
|