Click here to Skip to main content
15,888,351 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
If the result is over 1,000 do I remove the comma from TextBox14.Text result. Visual Basic 8 Code below;
VB
Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click
        Dim Tbox9, Tbox11, Tbox12, Tbox13 As String
        Tbox9 = TextBox9.Text
        Tbox11 = TextBox11.Text
        Tbox12 = TextBox12.Text
        Tbox13 = TextBox13.Text
        Result = Tbox13 / (1.08 * (Tbox9 - Tbox11))
        TextBox14.Text = ShowResult
        TextBox14.Text = FormatNumber((Result), 0, )
        ShowResult = Tbox9 - Tbox11
        TextBox12.Text = ShowResult
    End Sub
End Class
Posted
Updated 1-Feb-15 19:03pm
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900