BitConverter.DoubleToUInt64Bits(Double) 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 double-precision floating point number to a 64-bit unsigned integer.
public:
static System::UInt64 DoubleToUInt64Bits(double value);
[System.CLSCompliant(false)]
public static ulong DoubleToUInt64Bits (double value);
[<System.CLSCompliant(false)>]
static member DoubleToUInt64Bits : double -> uint64
Public Shared Function DoubleToUInt64Bits (value As Double) As ULong
Parameters
- value
- Double
The number to convert.
Returns
A 64-bit unsigned integer whose bits are identical to value
.
- Attributes
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.