Just try to think the logical way. What does the ERROR wants to tell you?
- You have a —> NUMBER!
- But expected is a —> STRING!
Conclusion? —> You will need to converst from → NUMBER → to → STRING.
How to do it?
var myNumber = 100
var myString = String(myNumber)
…or…
var myString = myNumber.toString()
This should fix your problem.