title: Swift Double is Not Convertible to CGFloat
body: <p>I'm trying to draw a simple circle when I get to the following line I get the error &quot;Double is Not Convertable to CGFloat under the <code>startAngle = 0.0</code></p>
  <pre><code>path.addArcWithCenter(center, radius: radius, startAngle: 0.0, endAngle: Float(M_PI) * 2.0, clockwise: true)
  </code></pre>
  <p>How do I &quot;cast&quot; 0.0 to make it CGFloat in Swift?</p>
  <p>The complete function I am writing:</p>
  <pre><code>func drawCircle() {
      // Drawing code
      var bounds:CGRect = secondView.bounds
      var center = CGPoint()
      center.x = bounds.origin.x + bounds.size.width / 2.0
      center.y = bounds.origin.y + bounds.size.height / 2.0
      var radius = (min(bounds.size.width, bounds.size.height) / 2.0)
      var path:UIBezierPath = UIBezierPath()
      path.addArcWithCenter(center, radius: radius, startAngle: CGFloat(0.0), endAngle: Float(M_PI) * 2.0, clockwise: true)
      path.stroke()    
  }
  </code></pre>