Converts eight unsigned bytes beginning at the specified index in the specified array into a double-precision floating point number.
[Visual Basic] Public Shared Function ToDouble( _ ByVal value() As Byte, _ ByVal startIndex As Integer _ ) As Double [C#] public static double ToDouble( byte[] value, int startIndex ); [C++] public: static double ToDouble( unsigned char* value[], int startIndex ); [JScript] public static function ToDouble( value : Byte[], startIndex : int ) : double;
Returns a double precision floating-point numberformed from eight unsigned bytes beginning at startIndex.
Exception Type | Condition |
---|---|
ArgumentException | value is null. |
ArgumentException | startIndex is a value that results in invalid access to the array. |
BitConverter Class | BitConverter Members | System Namespace