What is the method for converting radians to degrees?

后端 未结 12 2682
慢半拍i
慢半拍i 2020-12-02 05:24

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 expre

12条回答
  •  猫巷女王i
    2020-12-02 06:05

    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

提交回复
热议问题