Value of type ‘Double’ cannot be converted to ‘System.Windows.Forms.TextBox’.
If TJ.Text > 1 Then
TD.Text = Val(TBB.Text) * 5 / 100 * Val(TJ.Text - 1)
ElseIf TJ.Text = 1 Then
TD.Text = Val(TBB.Text) * 5 / 100
Else
TD.Text = "0"
End If
TBP = Val(TBB.Text * TJ.Text)
TPP.Text = "Rp. " & Val(TBP.Text) - Val(TD.Text)
New contributor
Savio Nelinhos is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1