Hi, help me to calculate an excel formula in PHP, it looks like:
=(((1+((D7/100)*1.13))D8)-1)
In my example
$D7=5.75
$D8=12
and calcualtion:
$op1=$D7/100;
$op2=$op1*1.13+1;
$result=bcpow($op2, $D8)-1;
I tried many other ways, and result is 0 when D7 is small, they're different from excel's, have another idea?
thanks
Behrooz