Click or drag to resize
MvUserTypeAsFloat Method
Converts to a float value.

Namespace: RW.Server.Component
Assembly: RW.Server.Component (in RW.Server.Component.dll) Version: 6.3.0.0 (0.8.0.0)
Syntax
public virtual float AsFloat(
	float def
)

Parameters

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

Return Value

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