See Also
Description
Returns an integer indicating the sign of a number.
Syntax
Sgn(number)
The number argument can be any valid
numeric expression.
Return Values
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
Remarks
The sign of the number argument determines the return value of the Sgn function.
© 1996 by Microsoft Corporation.
file: /Techref/language/asp/vbs/vbscript/160.htm,
2KB, , updated: 1996年11月22日 11:12, local time: 2025年9月17日 05:38,
©2025 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE.
Questions?<A HREF="http://techref.massmind.org/Techref/language/asp/vbs/vbscript/160.htm"> Microsoft® Visual Basic® Scripting Edition </A>
Did you find what you needed?
Welcome to massmind.org!
Welcome to techref.massmind.org!
.