Share via


ToSingle Method (Object)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Converts an object to a Single value.

Namespace:  Microsoft.VisualBasic.CompilerServices
Assembly:  Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)

Syntax

'Declaration
Public Shared Function ToSingle ( _
    Value As Object _
) As Single
public static float ToSingle(
    Object Value
)
public:
static float ToSingle(
    Object^ Value
)
static member ToSingle : 
        Value:Object -> float32 
public static function ToSingle(
    Value : Object
) : float

Parameters

Return Value

Type: System. . :: . .Single
The Single value of the object.

.NET Framework Security

See Also

Reference

Conversions Class

ToSingle Overload

Microsoft.VisualBasic.CompilerServices Namespace