Depending on what you want your result to be, you should convert it to the appropriate type using that types init method.
eg.
var myInt = 5;
var myDouble = 3.4;
If I want a double for example in my result
var doubleResult = Double(myInt) + myDouble;
if I want an integer instead, please note the double will be truncated.
var intResult = myInt + Int(myDouble)
The problem I see in your example is you're trying to do an add operation and then convert it but both values needs to be the same before you perform the addition.
Apple has made it quiet strict to avoid type mis-match and conversion errors. Sometimes this can be a bit 'too strict' for dev coming from other languages, I was annoyed at first but I got used to it.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…