Table of Contents

Property AsDecimal

Namespace
MongoDB.Bson
Assembly
MongoDB.Bson.dll

AsDecimal

Casts the BsonValue to a decimal (throws an InvalidCastException if the cast is not valid).

public decimal AsDecimal { get; }

Property Value

decimal