Hi,
i created a
vb form and i want to compute the timein and timeout in minutes
in the txtbox the amount that customer needs to pay:
Example: time in = 2.00am and timeout= 3.30am the result should give me the total amount of entering the two time
total amount= ?????
i did as following bt i couldn't get it:
Dim n1, n2, total As Integer
n1 = CInt(txtnum1.Text)
n2 = CInt(txtnum2.Text)
If n1 + n2 > 60 Then
total = (n1 + n2) * 60
ElseIf n1 + n2 < 60 Then
total = (n1 + n2) * 60
End If
txttotal.Text = total
i really need ur help...can u plz help me