Write a single VB statement to display the value of Netpay v
     Write a single VB statement to display the value of Netpay variable with 2 decimal places in the LabelI in the following form: The net pay is: 450.00  The function VariableName. ToString(\"FI\") needs to be used.  Write a segment program in VB to take a numeric value from a TextBox1 (this is the name of the TextBox) and assign it to the string variable StrAge. The segment program also needs to check it the text entered in the textbox is numeric, then convert the text to an integer number and assign it to IntAge variable; and if it is not the program displays the following message using a MsgBox.  The following functions need to be used in this segment program: IsNumeric a (Variable Name) and Convert.Tolnteger(Variable Name) 
  
  Solution
 Sub DemoCInt()
 Dim i As Integer, str1 As String
 str1 = Range(\"A1\")
 i = ConvertToInteger(str1)
 MsgBox i, , \"Successful Conversion\"
 End Sub

