Click or drag to resize

MvUserTypeAsDouble Method

Converts to a double value.

Namespace:  RW.Server.Component
Assembly:  RW.Server.Component (in RW.Server.Component.dll) Version: 6.5.0.0 (6.5.0.0)
Syntax
public virtual double AsDouble(
	double def
)

Parameters

def
Type: SystemDouble
The default value to return if no conversion is possible.

Return Value

Type: Double
The converted double representation for this type. The default implementation returns def.
Remarks
This method is called by AsDouble(Boolean, Double) when the instance of MvValue to which it applies contains an object whose type is this user-defined type.
See Also