C-DEngine 5.105

TheCommonUtils..::..CDblWithBool Method

Converts an object to Double.

Namespace:  nsCDEngine.BaseClasses
Assembly:  C-DEngine (in C-DEngine.dll)

Syntax


public static double CDblWithBool(
	Object inObj
)
Public Shared Function CDblWithBool ( _
	inObj As Object _
) As Double
public:
static double^ CDblWithBool(
	Object^ inObj
)

Parameters

inObj
Type: Object
Input to be converted.

Return Value

The converted value.

Remarks


If the object is boolean, 'true' converts to 1 and 'false' converts to 0.