title: About float to int
body: <pre><code>float x = 2.5;
  int i = (int)x;
  </code></pre>
  
  <p>We all know the result is 2, but I want to know why we get this result, what is the theory and how the system work? Can it be explained using binary form (IEEE)?</p>