Search code examples
actionscript-3flex4flashbuilder4

Flashbuilder "to the power of N"


How can I have the ^-N in the statement below mean "to the power of -N" in Flashbuilder? Thanks

var M:Number =  1 - (1 + J)^-N;

Solution

  • var M:Number = 1 - Math.pow(1 + J, -N);