How to convert radians to degrees while using Math..asin
If
trace(Math.sin((Math.PI/6))); // .499999 Correct
trace(Math.asin((.499999))); // .523597 Correct
but
trace(Math.sin(30*Math.PI/180)); // 0.49999 Correct
trace(Math.asin(.49999*Math.PI/180)); // 0.008726 Wrong
else
trace(Math.asin(.49999*180/Math.PI)); // 30.000 Correct ?
My Math.asin function should use the radian to degrees conversion factor of Math.PI/180 but appears to be 180/Math.PI.
Can anyone explain why this is?
