How to make the dot to be click once and not repeat the dot in calculator ?
Protected Sub btnzero_Click(ByVal sender As Object, ByVal e As EventArgs) Handles btnzero.Click
txtentr.Text += btnzero.Text
End Sub
How to make the dot to be click once and not repeat the dot in calculator ?
Protected Sub btnzero_Click(ByVal sender As Object, ByVal e As EventArgs) Handles btnzero.Click
txtentr.Text += btnzero.Text
End Sub
Since you are working with a string, use one of the many string related methods to search for the period "." and include a conditional statement so you take action on whether you find a match.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.