Need to store high precision decimal values in MongoDB
问题 I have little experience with MongoDB. I am usual working on large scale SQL server DBs. MongoDB only supports double and there is no decimal . The C# driver serializes decimals as strings. What functionality do I miss if I store decimals as strings in MongoDB? Is there a way to set a default serialization of decimals as double (AllowTruncation) without having to put an Attribute on each property? What do I lose in precision if I used Bson double? Thanks for your help! UPDATE I have an