title: How can we get an absolute value in mongodb
body: <p>How can we get an absolute value in mongodb for example in SQL query..</p>
  
  <pre><code>SELECT ABS(-20)
  Result
  20
  </code></pre>
  
  <p>Which command we have to use to get absolute value in mongodb.</p>