What is the method for converting radians to degrees?

后端 未结 12 2683
慢半拍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条回答
  •  一个人的身影
    2020-12-02 06:07

    In javascript you can do it this way

    radians = degrees * (Math.PI/180);
    
    degrees = radians * (180/Math.PI);
    

提交回复
热议问题