BitConverter: Int64BitsToDouble

Int64BitsToDouble

Converts the bit representation of a Currencty to a Double.



 Public Function Int64BitsToDouble(
	  ByVal Value As Currency ) As Double

Parameters

Value
[ByVal] Currency. The Currency bits to conver to Double bits.

Return Values

Double -  The bit representation from a Currency datatype.

Remarks

This does not convert a Currency to that of a Double value (like using CDbl). This will copy the 64 bits of the Currency variable to the 64 bits of the Double variable.

See Also

Project VBCorLib Overview Class BitConverter Overview BitConverter Properties BitConverter Methods GetBytes ToBoolean