Number.doubleValue is compared, but that will drop precision from a large Long value and falsely consider two different Numbers to be equal.
Pull request here: https://github.com/mongodb/mongo-java-driver/pull/133
Number.doubleValue is compared, but that will drop precision from a large Long value and falsely consider two different Numbers to be equal.
Pull request here: https://github.com/mongodb/mongo-java-driver/pull/133