-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: 3.3.14
-
Component/s: Aggregation Framework
-
Labels:None
-
Environment:Windows 10
-
ALL
-
-
Integration 2016-10-10
When doing rounding of double numbers together with the new NumberDecimal strange rounding problems show up. I'd expect a mix should return the same results as doubles only or NumberDecimals only.
Mixed output from example:
{ "_id" : "sweet", "totalAmount" : NumberDecimal("17.43000000000000017763568394002505"), "count" : 3 }Output from doubles only:
{ "_id" : "sweet", "totalAmount" : 17.43, "count" : 3 }