title: Weird outcome when subtracting doubles
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/753948/why-is-floating-point-arithmetic-in-c-imprecise">Why is floating point arithmetic in C# imprecise?</a>  </p>
  </blockquote>
  
  
  
  <p>I have been dealing with some numbers and C#, and the following line of code results in a different number than one would expect:</p>
  
  <pre><code>double num = (3600.2 - 3600.0);
  </code></pre>
  
  <p>I expected num  to be 0.2, however, it turned out to be 0.1999999999998181. Is there any reason why it is producing a close, but still different decimal?</p>