Click or drag to resize

Decimal128FromComponents Method

Creates a new Decimal128 value from its components.

Namespace:  MongoDB.Bson
Assembly:  MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.6.0+Branch.origin/v2.6.x.Sha.593796a7b35dc59243383bcc684de296a5468f2e
Syntax
public static Decimal128 FromComponents(
	bool isNegative,
	short exponent,
	ulong significandHighBits,
	ulong significandLowBits
)

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: Decimal128
A Decimal128 value.
See Also