Table of Contents

Method ToDecimal

Namespace
MongoDB.Bson
Assembly
MongoDB.Bson.dll

ToDecimal()

Converts this BsonValue to a Decimal.

public virtual decimal ToDecimal()

Returns

decimal

A Decimal.