title: type casting float to int
body: <p>I am getting a float input from the user with this code.</p>
  
  <pre><code>1. float change = Getfloat();
  2. change *= 100;
  3. int remainder = change;
  </code></pre>
  
  <p>However, when the user inputs <strong>4.2</strong> line 2 turns change variable to <strong>419.999969</strong> and line ends up with <strong>419</strong>.
  How do I change the program so it <em>effectively change the float to int.</em> </p>