There are a lot of proposed work arounds, and some surely work fine if you're only dealing with 2 decimal currency.
The solutions don't scale for arbitrary precision based on the field.
The new aggregation framework is a fantastic step forward and from my testing is relatively peppy, even at a 150k document collection.
Side note: Anyone know a nosql solution that doesn't treat decimals as floats?
[1] https://jira.mongodb.org/browse/SERVER-1393
There are a lot of proposed work arounds, and some surely work fine if you're only dealing with 2 decimal currency.
The solutions don't scale for arbitrary precision based on the field.
The new aggregation framework is a fantastic step forward and from my testing is relatively peppy, even at a 150k document collection.
Side note: Anyone know a nosql solution that doesn't treat decimals as floats?
[1] https://jira.mongodb.org/browse/SERVER-1393