I'm studying Neo4J and liking it a lot so far, but encountered a strange issue involving sum of floating point values. I have several transactions which I need to sum, after some filtering, all of them have up to 2 decimal values (for example: -39.68, -2.48, 3.40, and so on. If I copy these values to an excel spreadsheet, the sum of all of them, yields 9575.00, but in Neo4J the result is 9574.999999999998.
I have the same values stored in a SQLServer database, and there I also get 9575.00.
Of course I could just round the result, using Mark Needhams solution http://www.markhneedham.com/blog/2014/05/25/neo4j-cypher-rounding-a-float-value-to-decimal-places/, but this just seems strange, especially because it's not an operation that should change the number decimals.
Anybody facing the same issue?