Table of Contents

Method ToDecimal

Namespace
MongoDB.Bson
Assembly
MongoDB.Bson.dll

ToDecimal(Decimal128)

Converts the value of the specified Decimal128 to the equivalent decimal.

public static decimal ToDecimal(Decimal128 d)

Parameters

d Decimal128

The number to convert.

Returns

decimal

A decimal equivalent to d.