asp.net.ph

Convert.ToSingle Method ( UInt16 )

System Namespace   Convert Class


Converts the value of a given 16-bit unsigned integer to an equivalent single-precision floating point number.

This method is not CLS-compliant. For more information about CLS compliance, see What is the Common Language Specification.

[ VB ]
Overloads Public Shared Function ToSingle ( _
   ByVal value As UInt16 _
) As Single

[ C# ]
public static float ToSingle ( 
   ushort value
);

[ C++ ]
public: static float ToSingle ( 
   unsigned short value
);

[ JScript ]
public static function ToSingle (
   value : UInt16
) : float;

Parameters

value
A 16-bit unsigned integer.

Return Value

The single-precision floating point number equivalent of value.

See Also

Convert Members   Convert.ToSingle Overload List   UInt16 Skip Navigation Links


Previous page Back to top Next page

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note