You should convert one type to the other one so both variable should be the same types:
var result: Double = Double(textfield) * VAT
You should convert one type to the other one so both variable should be the same types:
var result: Double = Double(textfield) * VAT