title: vb.net cube root gives wrong value?
body: <p>I was simply looking for a way to get cube roots in vb.net. The consensus online is to use the formula:</p>
  
  <pre><code>&lt;number&gt; ^ (1 / 3)
  </code></pre>
  
  <p>I tried punching a few of these into the immediate window and here's what I get:</p>
  
  <pre><code>?1 ^ (1 / 3)
  1.0
  ?8 ^ (1 / 3)
  2.0
  ?27 ^ (1 / 3)
  3.0
  ?64 ^ (1 / 3)
  3.9999999999999996
  </code></pre>
  
  <p>Wait a minute.. Shouldn't the answer be 4.0? What happened? 4 * 4 * 4 = 64, not 3.9999999999999996 * 3.9999999999999996 * 3.9999999999999996 = 64. I'm usually good with math problems but I've spent too much time with this and I could use some help. I'm not as interested in finding out why this failed as much as I am interested in how to make this work given the number 64 and trying to get the cube root to equal 4.</p>