title: Convert double to int?
body: <p>My code is below:</p>
  
  <pre><code>int main(int argc, char *argv[])
  {
  
      double f = 18.40;
      printf("%d\n", (int)(10 * f));
  
      return 0;
  }
  </code></pre>
  
  <p>The result is 184 in VC6.0, while the result in Codeblock is 183. Why?</p>