Dim checks As Double
Dim Fee As Double
Dim Q As Double
Dim Initial As Double
Initial = 10
Dim number1 As Decimal = 0.1D
Dim number2 As Decimal = 0.08D
Dim number3 As Decimal = 0.06D
Dim number4 As Decimal = 0.04D
TextBox1.Text = checks
If checks >= 1 And checks <= 20 Then
Fee = (checks) * (number1)
ElseIf checks >= 21 And checks <= 39 Then
Fee = (checks) * (number2)
ElseIf checks >= 40 And checks <= 59 Then
Fee = (checks) * (number3)
ElseIf checks >= 60 Then
Fee = (checks) * (number4)
End If
Q = CDbl(Initial) + CInt(Fee)
Label3.Text = CStr(Q)
Ok the code is not multiplying the variable and only using the variable (Initial) in the calculation
What I am trying to figure out is well how i get this to multiply correctly
Example would be I input 15 into the text box what should appear in the label is 11.50 and all it shows is 10 >.<