Originally Posted by FrostWyrmWraith
And no, by the way, 500*1.15^12 does not equal 3000.
var xpup = 500 * Math.ceil( Math.pow(1.15, 12) );
And because of the Math.ceil( )
in there, xpup *DOES* then equal 3000.
500*1.15^12 is actually 2675.1250527368555908203125