Table of Contents

Method ToUInt64

Namespace
MongoDB.Bson
Assembly
MongoDB.Bson.dll

ToUInt64(Decimal128)

Converts the value of the specified Decimal128 to the equivalent 64-bit unsigned integer.

[CLSCompliant(false)]
public static ulong ToUInt64(Decimal128 d)

Parameters

d Decimal128

The number to convert.

Returns

ulong

A 64-bit unsigned integer equivalent to d.