How can I have the ^-N in the sta开发者_开发知识库tement below mean "to the power of -N" in Flashbuilder? Thanks
var M:Number = 1 - (1 + J)^-N;
var M:Number = 1 - Math.pow(1 + J, -N);
Colin is correct, use the Math.pow(val1:Number, val2:Number):Number method.
http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/Math.html#pow()
精彩评论