-
Type:
Bug
-
Resolution: Done
-
Priority:
Minor - P4
-
None
-
Affects Version/s: Legacy C++ Implementation
-
Component/s: mongoexport
-
None
I have two different platforms, first is Ubuntu 14.04 (Linux ubuntu 3.13.0-34-generic) and second is Windows 7 64bit (using MINGW32_NT-6.1).
When I run the following commands I get different results:
echo '{ "foo" : 89.49800000000001 }' | mongoimport --db test --collection test --drop
mongoexport --db test --collection test
The output on Linux is:
{ "_id" : { "$oid" : "53f1b91087afee0b6c741b72" }, "foo" : 89.498 }
When the output on windows is:
{ "_id" : { "$oid" : "53f1befa0aae1b304dae7e2a" }, "foo" : 89.4980000000001 }