Click or drag to resize
ConvertToSingle Method (Byte)
Converts the value of the specified 8-bit unsigned integer to the equivalent single-precision floating-point number.

Namespace: System
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public static float ToSingle(
	byte value
)

Parameters

value
Type: SystemByte
The 8-bit unsigned integer to convert.

Return Value

Type: Single
A single-precision floating-point number that is equivalent to value.
See Also