Given the following documents in a MongoDB collection...
{ \"_id\": 1, \"amount\": { \"value\": 1.123456789999, \"rate\": 1.2 }} { \"_id\": 2, \"amount\": { \"va
Starting from the answer I got from user3100115, here below is the final soluton:
db.orders.find({ "$where": function() { return this.amount.value - (this.amount.value % 0.01) === 0.03; }})
I hope it helps.