title: SQL - Convert number to decimal
body: <p>I'm trying to convert a number to a decimal with two decimals places.</p>
  
  <pre><code>SELECT CONVERT(DECIMAL(10,2),12345) 
  </code></pre>
  
  <p>The above would return 12345.00 but I'm trying to achieve 123.45</p>