Share

LmiMath.Sign0 Method

Returns an integer that indicates the sign of a number.

Namespace:  Autodesk.iLogic.Runtime
Assembly:  Autodesk.iLogic.Runtime (in Autodesk.iLogic.Runtime.dll) Version: 30.0

Syntax

VB

Public Shared Function Sign0 ( 
	d As Double
) As Integer

C#

public static int Sign0(
	double d
)

Parameters

d
Type: System.Double
A number.

Return Value

Type: Int32
1 if the number is greater than zero. 0 if the number is zero or negative.

See Also

Reference

Was this information helpful?