Table of Contents

Method FromComponents

Namespace
MongoDB.Bson
Assembly
MongoDB.Bson.dll

FromComponents(bool, short, ulong, ulong)

Creates a new Decimal128 value from its components.

[CLSCompliant(false)]
public static Decimal128 FromComponents(bool isNegative, short exponent, ulong significandHighBits, ulong significandLowBits)

Parameters

isNegative bool

if set to true [is negative].

exponent short

The exponent.

significandHighBits ulong

The signficand high bits.

significandLowBits ulong

The significand low bits.

Returns

Decimal128

A Decimal128 value.