Inverse sine in degrees?

How would you find the inverse sine in degrees?
I can get sine in degrees by using this:
out=sin((in)*pi/180);
But I can't get the inverse sine in degrees.
This doesn't work:
out=asin((in)*pi/180);
sin() takes an angle in radians and returns it's sin in range [-1; +1]
asin() takes a sin (in range [-1; +1]) and returns the angle in radians.
You have to convert radians to degrees:
out = asin(in) *180/pi
Topic archived. No new replies allowed.