Hi, I'm trying to create an inputbox for uiJob1TextBox, uiJob2TextBox, and uiJob3TextBox. This way the user will be asked to enter a number for each textbox. Now I have my code:

VB Code:
  1. Const RaisePercentage As String = "Raise Percentage: "
  2.         Dim job1HP As Double, job2HP As Double, job3HP As Double
  3.         Dim job1NewHP As Double, job2NewHP As Double, job3NewHP As Double
  4.         Dim raisePercent As Double
  5.         Try
  6.             job1HP = CDbl(uiJob1TextBox.Text)
  7.             job2HP = CDbl(uiJob2TextBox.Text)
  8.             job3HP = CDbl(uiJob3TextBox.Text)
  9.         Catch ex As Exception
  10.             MsgBox(ex.Message(), MsgBoxStyle.Critical)
  11.             uiJob1TextBox.Focus()
  12.             Exit Sub
  13.         End Try
  14.         Do
  15.             Try
  16.                 raisePercent = CDbl(InputBox("Please enter the raise percentage.", "Raise Percentage")) / 100
  17.                 Exit Do
  18.             Catch ex As Exception
  19.                 MsgBox(ex.Message(), MsgBoxStyle.Critical)
  20.             End Try
I'm trying to understand what CDbl is? Because I'm thinking if i use the 'Try' statement and make job1HP equal to something else that contains in (uiJob1Textbox)
That then I can create a raisePercent= "blah" code which will allow me to enter a InputBox for the three textboxes. Anyone have any suggestions or what
CDbl means and if I can use a different expression so this way I can have expression A equal uiJobTextbox, expression B equal textbox2, and expression C equal textbox3.

Thanks!