title: How to round to 2 decimal places in jquery datatable?
body: <p>I am using jquery datatable aocolumns to round the specific columns to two decimal places but it seems like i am unable to get the correct regular expression for this or may be their is something wrong with my logic.</p>
  
  <pre><code>"aoColumnDefs": [ {
                          "aTargets": [ 7 ],
                          "mRender": function (data, type, full) {
                              var formmatedvalue = data.replace(/\d+(\.\d{1,2})?/, "")
                               return formmatedvalue;
                          }
                      }],
  </code></pre>
  
  <p>The output for that column should be</p>
  
  <pre><code>120.02
  1560.56
  565645.25
  124995.89
  etc .....
  </code></pre>
  
  <p>Any possible solution for this?</p>