BitConverter.UInt64BitsToDouble(UInt64) Method

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Important

This API is not CLS-compliant.

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

C#
[System.CLSCompliant(false)]
public static double UInt64BitsToDouble(ulong value);

Parameters

value
UInt64

The number to convert.

Returns

A double-precision floating point number whose bits are identical to value.

Attributes

Applies to

Product Versions
.NET 6, 7, 8, 9, 10