BitConverter: ToDouble

ToDouble

Converts an array of bytes to a Double value.



 Public Function ToDouble(
	  ByRef Bytes ( ) As Byte,
	  ByVal startIndex As Long ) As Double

Parameters

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

Return Values

Double -  Double datatype representation of the 8 bytes used in the array.

Remarks

See Also

Project VBCorLib Overview Class BitConverter Overview BitConverter Properties BitConverter Methods ToDecimal ToInteger