title: How can I perform like query for big decimal number containing decimal part in it in mongodb
body: <p>I have perform like query in mongodb. I have following document in <code>employee collection</code> as:</p>
  
  <pre><code>{
     "_id" :1
     "name":"Abc",
     "salary": 56789.98456
   }
  </code></pre>
  
  <p>So far,I have performed <code>like query</code> to match the above employee document. I have tried following queries in mongo:</p>
  
  <pre><code>db.employee.find({"salary":/.*56789.98.*/}).pretty()
  db.employee.find({"salary":/^56789.98/}).pretty()
  db.employee.find({"salary":/56789.98/}).pretty()
  </code></pre>
  
  <p>But it doesn't work.
  I also looked at:
  <a href="https://stackoverflow.com/questions/3305561/how-to-query-mongodb-with-like">How to query MongoDB with &quot;like&quot;?</a></p>
  
  <p>How do I achieve this in mongo ?</p>