Search code examples
actionscript-3apache-flex

How to Calculate 10^5 in Flex


I am new to flex and I am struggling to know how to calculate 10^5 (10 to the power 5).

If It was a java code I would have written like this

But In this case, I didn't found any example on the web as well.

Any clue!


Solution

  • I'm not 100% sure whether this link is still relevant or not, but the Adobe Flash ActionScript documentation still has Math.pow:

    Computes and returns base to the power of pow.