title: Converting a double to an int in C#
body: <p>In our code we have a double that we need to convert to an int.</p>
  
  <pre><code>double score = 8.6;
  int i1 = Convert.ToInt32(score);
  int i2 = (int)score;
  </code></pre>
  
  <p>Can anyone explain me why <code>i1 != i2</code>?</p>
  
  <p>The result that I get is that: <code>i1 = 9</code> and <code>i2 = 8</code>.</p>