I have a collection of documents that have a value that is known to be a number, but is stored as a string. It is out of my control to change the type of the field, but I w
Now there is $toInt conversion operators in aggregation, you can check: https://jira.mongodb.org/browse/SERVER-11400