title: How can I convert from degrees to radians?
body: <p>I am trying to convert this <code>Obj-C</code> code to <code>Swift</code> code but I don't know what the equivalent of this code should be ?</p>
  
  <pre><code>#define DEGREES_TO_RADIANS(degrees)((M_PI * degrees)/180)
  </code></pre>
  
  <p>I googled and found <a href="https://stackoverflow.com/questions/24325477/how-to-use-a-objective-c-define-from-swift">this</a></p>
  
  <p>But I don't understand how to convert that in Swift in my case?</p>