ToSingle Method (Single)

Convert.ToSingle Method (Single)

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Returns the specified single-precision floating point number; no actual conversion is performed.

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

public static float ToSingle(
	float value
)

Parameters

value
Type: System.Single
A single-precision floating point number.

Return Value

Type: System.Single
Parameter value is returned unchanged.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2016 Microsoft