title: How to get a float result by dividing two integer values using T-SQL?
body: <p>Using T-SQL and Microsoft SQL Server I would like to specify the number of decimal digits when I do a division between 2 integer numbers like:</p>
  
  <pre><code>select 1/3
  </code></pre>
  
  <p>That currently returns <code>0</code>. I would like it to return <code>0,33</code>.</p>
  
  <p>Something like:</p>
  
  <pre><code>select round(1/3, -2)
  </code></pre>
  
  <p>But that doesn't work. How can I achieve the desired result?</p>