Code
Code
euro = Val(TextBox1.Text)
usd = Val(TextBox2.Text)
ukd = Val(TextBox3.Text)
yen = Val(TextBox4.Text)
hkd = Val(TextBox5.Text)
sd = Val(TextBox6.Text)
TextBox7.Text = euro * 57.46
TextBox8.Text = usd * 51.63
TextBox9.Text = ukd * 62.77
TextBox10.Text = yen * 0.48
TextBox11.Text = hkd * 6.59
TextBox12.Text = sd * 37.5
End Sub
End Class
Numeric variables contain only numbers and are suitable for numeric calculations such as addition and
multiplication. String variables may contain letters, numbers and other characters. You can't do
calculations on string variables -even if they contain only numbers.