Bridge

Convert..::..ToSingle Method (Object)

Converts the value of the specified object to a single-precision floating-point number. Note: Calling this method for [DateTime] value always throws InvalidCastException.

Namespace:  System
Assembly:  Bridge (in Bridge.dll)

Syntax


[TemplateAttribute]
public static float ToSingle(
	Object value
)
<TemplateAttribute> _
Public Shared Function ToSingle ( _
	value As Object _
) As Single
[TemplateAttribute]
public:
static float^ ToSingle(
	Object^ value
)

Parameters

value
Type: System..::..Object