2010-04-14 124 views
1

Actionscript是否有一个函数,告诉我输入是什么数字的平方根。例如:逆平方根:在数学库或如何计算它

4  //output 2, because 4 is the square root of 2 
16 //output 4, because 16 is the square root of 4 
+4

UMM,4是2 2的平方4. – dnagirl 2010-04-14 17:09:02

+1

@dnagirl的平方根,哈哈哈,好,我感到稍微笨现在**脸红** – danke 2010-04-14 17:17:51

回答

1
squareRoot=Math.sqrt(value);