title: Getting "cannot convert double to float" error when using Math.Pow
body: <p>I have the following:</p>
  
  <pre><code>        int val1 = 2;
          float val2 = (float)val1;
  
          decimal val3 = 3.2m;
          float val4 = (float)val3;
  
          float Result2 = Math.Pow(val4, val2);
  </code></pre>
  
  <p>It seems to me supposedly val4 and val2 are both in the float type. However i get a error on Math.Pow everytime signaling it can't convert type double to type float implicitly. I think i'm casting everything correctly, am I missing something?</p>