how to use a double value in power function
<p>i am trying to find the power of a value.But the problem is my exponent is a fractional value.power function does not suppporting any datatype other than int.</p>

<pre><code> BigDecimal fd_returns_at_time_of_replace=(BigDecimal.valueOf(capitalDiff).multiply((BigDecimal.valueOf((long)constant1+.09)).pow(temp)));
</code></pre>

<p>here temp is a fractional value.given below is the eror message i am getting.</p>

<pre><code>The method pow(int) in the type BigDecimal is not applicable for the arguments (double)
</code></pre>

<p>please anybody help me to do this.</p>
