-
Type: Task
-
Resolution: Works as Designed
-
Priority: Minor - P4
-
Affects Version/s: 2.5
-
Component/s: None
ToBsonDocument() extension method serialize decimal as String
decimal pi = 13.14m; await new MongoClient() .GetDatabase("TestDb") .GetCollection<BsonDocument>("TestCollection") .InsertManyAsync(new[] { new TestClass { DecimalValueC = pi }.ToBsonDocument(), new { DecimalValueA = pi }.ToBsonDocument() } );
- is related to
-
CSHARP-5250 Change Decimal128 default serialization to Bson.Decimal128
- Closed
- related to
-
CSHARP-2217 System.Decimal support in FilterDefinitionBuilder
- Closed