Hi,
I'm trying to recreate this formula in Flash
1000 * (1 + 0.06) ^ 3 = 1191.016
using
but it's not displaying right - any help appreciatedPHP Code:ActionScript Code:
Math.pow(1000*(1+0.06),3);
Printable View
Hi,
I'm trying to recreate this formula in Flash
1000 * (1 + 0.06) ^ 3 = 1191.016
using
but it's not displaying right - any help appreciatedPHP Code:ActionScript Code:
Math.pow(1000*(1+0.06),3);
1000*Math.pow((1+0.06),3);
Math.pow() works like this:
Math.pow(y,x);
y is raised to the x power
Math.pow((),3)
is your setup
1000* Math.pow((1.06),3);