And if you have Option Strict On, then you'll need to convert the double to a string as well:
VB Code:
Dim strAverage As String = "Your Batting Average is " & CStr(BattingAverage) or: Dim strAverage As String = "Your Batting Average is " & Convert.ToString(BattingAverage)




Reply With Quote