title: How to make a simple division of Double by Int in Swift?
body: <p>Looking at various posts on this topic but still no luck. Is there a simple way to make division/conversion when dividing Double (or Float) with Int? Here is a simple example in playground returning and error "Double is not convertible to UInt8". </p>
  
  <pre><code>    var score:Double = 3.00
  var length:Int = 2  // it is taken from some an array lenght and does not return decimal or float
  
  var result:Double = (score / length )
  </code></pre>