title: How do you cast a double to an integer in R?
body: <p>My question is: Suppose you have computed an algorithm that gives the number of iterations and you would like to print the number of iterations out. But the output always many decimal places, like the following:</p>
  
  <pre><code>64.00000000
  </code></pre>
  
  <p>Is it possible to get an integer by doing type casting in R ? How would you do it ??</p>