What is the method for converting radians to degrees?

Hans Sjunnesson picture Hans Sjunnesson · Sep 25, 2008 · Viewed 119.4k times · Source

I run into this occasionally and always forget how to do it.

One of those things that pop up ever so often.

Also, what's the formula to convert angles expressed in radians to degrees and back again?

Answer

Dave Costa picture Dave Costa · Sep 25, 2008
radians = degrees * (pi/180)

degrees = radians * (180/pi)

As for implementation, the main question is how precise you want to be about the value of pi. There is some related discussion here