Returns an integer that indicates the sign of a number.
Namespace:
Autodesk.iLogic.Runtime
Assembly:
Autodesk.iLogic.Runtime (in Autodesk.iLogic.Runtime.dll) Version: 23.0
Syntax Public Shared Function Sign0 (
d As Double
) As Integer
public static int Sign0(
double d
)
Parameters
- d
- Type: SystemDouble
A number.
Return Value
Type:
Int32
1 if the number is greater than zero.
0 if the number is zero or negative.
See Also