BitConverter.Int64BitsToDouble Method

Converts the specified 64-bit signed integer to a double-precision floating point number.

Namespace:  System
Assembly:  mscorlib (in mscorlib.dll)

public static double Int64BitsToDouble(
	long value


Type: System.Int64
The number to convert.

Return Value

Type: System.Double
A double-precision floating point number whose value is equivalent to value.

The following example uses the Int64BitsToDouble method to convert the bit patterns of several Int64 values to Double values.


Supported in: 5, 4

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions