title: how to place a decimal point just before last two digit of a number
body: <p>I have a query as below</p>
  
  <pre><code>Select sum(total) from sales
  </code></pre>
  
  <p>it will give the result as <code>123456789</code> because in back end data is stored with out decimal point.
  I need to format it as <code>1234567.89</code></p>
  
  <p>i tried</p>
  
  <pre><code>select CONVERT(DECIMAL(10,2),SUM(total)) from sales
  </code></pre>
  
  <p>but it give the output as <code>123456789.00</code></p>
  
  <blockquote>
    <p>how to make it as 1234567.89</p>
  </blockquote>