Export (0) Print
Expand All

Convert.ToSingle Method (Int16)

.NET Framework 1.1

Converts the value of the specified 16-bit signed integer to an equivalent single-precision floating point number.

[Visual Basic]
Overloads Public Shared Function ToSingle( _
   ByVal value As Short _
) As Single
[C#]
public static float ToSingle(
 short value
);
[C++]
public: static float ToSingle(
 short value
);
[JScript]
public static function ToSingle(
   value : Int16
) : float;

Parameters

value
A 16-bit signed integer.

Return Value

A single-precision floating point number equivalent to the value of value.

Requirements

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

Show:
© 2014 Microsoft