title: I convert Int to Float but the Id-Type doesn't change
body: <p>I convert int to float and input 1.23 to 'a' but output is 1
  what is wrong?</p>
  <pre><code>int a = 123;
  static_cast&lt;float&gt;(a);
  cout &lt;&lt; typeid(a).name(); //int
  
  cin &gt;&gt; a; //1.23
  cout &lt;&lt; a;  //1
  
  
  return 0;
  </code></pre>