Decimal128FromComponents Method |
Creates a new Decimal128 value from its components.
Namespace:
MongoDB.Bson
Assembly:
MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.7.3+Branch.v2.7.x.Sha.2f1f2be13a23b8520cb9c2ee8439c022f9a03efe
Syntax public static Decimal128 FromComponents(
bool isNegative,
short exponent,
ulong significandHighBits,
ulong significandLowBits
)
Public Shared Function FromComponents (
isNegative As Boolean,
exponent As Short,
significandHighBits As ULong,
significandLowBits As ULong
) As Decimal128
static member FromComponents :
isNegative : bool *
exponent : int16 *
significandHighBits : uint64 *
significandLowBits : uint64 -> Decimal128
Parameters
- isNegative
- Type: SystemBoolean
if set to true [is negative]. - exponent
- Type: SystemInt16
The exponent. - significandHighBits
- Type: SystemUInt64
The signficand high bits. - significandLowBits
- Type: SystemUInt64
The significand low bits.
Return Value
Type:
Decimal128A Decimal128 value.
See Also