Method FromComponents
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
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
A Decimal128 value.