Still new to this so please excuse me...
I am adding text boxes but it will only add the whole dollar and return a whole dollar amount. I need to correct this so if someone puts 100.50 in the first text box and 100.75 in the second text box the value will return as: 100.75
here is my code: and suggestions?
thanks!Code:'Calculate Monthly Income 'Initiate Variables Dim intTMI As Integer Dim intGMI As Integer Dim intOMI As Integer 'Get Text Box Totals intGMI = CInt(txtGMI.Text) intOMI = CInt(txtOMI.Text) 'Show Values intTMI = intGMI + intOMI lblTMI.Text = "$"+CStr(intTMI) lblMI.visible = true lblTMI.visible = true
Anjari




Reply With Quote