This documentation is archived and is not being maintained.

Convert.ToSingle Method (Single)

.NET Framework 1.1

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

[Visual Basic]
Overloads Public Shared Function ToSingle( _
   ByVal value As Single _
) As Single
public static float ToSingle(
 float value
public: static float ToSingle(
 float value
public static function ToSingle(
   value : float
) : float;


A single-precision floating point number.

Return Value

Parameter value is returned unchanged.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework, Common Language Infrastructure (CLI) Standard

See Also

Convert Class | Convert Members | System Namespace | Convert.ToSingle Overload List | Single