ConvertToSingle Method (UInt16) |
Converts the value of the specified 16-bit unsigned integer to the equivalent single-precision floating-point number.
Namespace: SystemAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax public static float ToSingle(
ushort value
)
Parameters
- value
- Type: SystemUInt16
The 16-bit unsigned integer to convert.
Return Value
Type:
SingleA single-precision floating-point number that is equivalent to
value.
See Also