title: Trying to divide two numbers and not have it round the numbers that it is dividing asp.net
body: <p>I am trying to divide two numbers and have it not round to the nearest whole number</p>
  
  <pre><code>    Dim dImgRatio As Decimal = 1.566
      Dim newWidth As Decimal = 400
      Dim newHeight As Decimal = newWidth \ dImgRatio
  </code></pre>
  
  <p>It always gives me newHeith = 200 instead of 255</p>
  
  <p>It is like it is rounding the dImgRatio up to 2 before it does the division.</p>
  
  <p>Any ideas?</p>