title: Mongo Cast String to Number for Query
body: <p>Is there a way to do a less than or equal to query on a string field of a number?</p>
  
  <p>Example Data</p>
  
  <pre><code>|           Id           |           Price           |
  |           1            |           "1000.00"       |
  |           2            |           "5400.00"       |
  |           3            |           "750.00"        |
  </code></pre>
  
  <p>When I execute this query it returns all of the records:</p>
  
  <pre><code>db.MyCollection.find({ Price: {$lte: "1000.0"} })
  </code></pre>
  
  <p>When I execute this query it returns nothing:</p>
  
  <pre><code>db.MyCollection.find({ Price: {$lte: 1000.0} })
  </code></pre>