DOFTypeasDouble Method OpenDOF Object Access Library
Returns the result's value as a double.

Namespace: org.opendof.core.oal
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax

C#
public static double asDouble(
	DOFValue value
)

Parameters

value
Type: org.opendof.core.oalDOFValue
Value to return as double Throws ClassCastException if called on a non-double result.

Return Value

Type: Double
the result's value as a double.
Remarks

Returns the result's value as a double. Compatible with results of type org.opendof.core.oal.value.DOFFloat64 and all types accepted by asFloat(DOFValue) .

See Also

Reference