How can I store decimals in MongoDB using the standard C# driver? It seems that all decimals are stored inside the database as strings.
I recently ran in to this problem. I solved it by simply annotating my object like this:
[BsonRepresentation(BsonType.Decimal128)] public decimal Price {get; set;}