Click or drag to resize

RepresentationConverterToDecimal128 Method (Double)

Converts a Double to a Decimal128.

Namespace:  MongoDB.Bson.Serialization.Options
Assembly:  MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.6.0+Branch.origin/v2.6.x.Sha.593796a7b35dc59243383bcc684de296a5468f2e
Syntax
public Decimal128 ToDecimal128(
	double value
)

Parameters

value
Type: SystemDouble
A Double.

Return Value

Type: Decimal128
A Decimal128.
See Also