GH_Convert.ToDouble_Secondary Method

GH_ConvertToDouble_Secondary Method

Performs indirect casts from other data types into Doubles.

Namespace:  Grasshopper.Kernel
Assembly:  Grasshopper (in Grasshopper.dll)
Syntax
public static bool ToDouble_Secondary(
	Object data,
	ref double destination
)
Public Shared Function ToDouble_Secondary ( 
	data As Object,
	ByRef destination As Double
) As Boolean

Parameters

data
Type: SystemObject
Data to convert.
destination
Type: SystemDouble
Target for value assignment.

Return Value

Type: Boolean
True on success, false on failure.
See Also