When I use the aggregation framework to get values from my database and I got complex data structures, such as arrays of struct with doubles, I get inaccurate values.
I use the ToList() on my IAsyncCursor
to get my values. The double values should be such as 13.23
and in the return json string the values are like 13.2300000001
or something like that. This is just a behavior if I use this complex structures of data.
What can I do against this Inaccuracy? Am I using the false classes and methods of the csharp api?