BitConverter: ToSingle

ToSingle

Converts an array of bytes to a Single value.



 Public Function ToSingle(
	  ByRef Bytes ( ) As Byte,
	  ByVal startIndex As Long ) As Single

Parameters

Bytes
[ByRef] Byte. The array of bytes used to create a Single from.
startIndex
[ByVal] Long. The starting byte in the array to create a Single from.

Return Values

Single -  Single datatype representation of the 4 bytes used in the array.

Remarks

See Also

Project VBCorLib Overview Class BitConverter Overview BitConverter Properties BitConverter Methods ToLong ToString