title: Why does the pow() function in C++ not work for me here?
body: <p>I'm trying to make a table that prints daily compounding interest at different rates over time, but the pow() function does not appear to be working for me.  Here is my code:</p>
  
  <pre><code>double balance = principle * pow( (1 + (i / 36000)), (j * 360) );
  printf( "%15.2f", balance);
  </code></pre>
  
  <p>Where i is the interest rate and j is the year.  However, the print statement only ever prints the original principle because the pow() is just returning 1.  Am I doing something wrong, and how can I fix it?
  Thank you</p>