Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
-
3.3.14
-
None
-
Windows 10
-
ALL
-
-
Integration 2016-10-10
Description
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 }