title: Internal representation of a number in R
body: <pre><code>&gt; trunc(26015)
  [1] 26015
  &gt; 260.15*100
  [1] 26015
  &gt; trunc(260.15*100)
  [1] 26014
  &gt; floor(260.15*100)
  [1] 26014
  &gt; as.integer(260.15*100)
  [1] 26014
  </code></pre>
  <p>For this code in R, is there an issue with the internal representation of the number?
  When I do 260.15*100, the number being printed is still 26015, but when I use a function like trunc() or as.integer(), it becomes 26014.
  Usually, my value containing the decimal comes from another variable. So how do I overcome this issue?</p>