Okay BRAND NEW to VB and I have a problem I have a percentage that I need to get and I get more than 3 decimals when that's all I need. i.e. 68/52 = 56.667 is what I am looking for but I am getting 56.6666666666667. Please help
Below is my code. This is for the University's Baseball team.
So basically what I need is a calculator that will go to the thousandth power.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim a, b As Integer
a = tbwon.Text
b = tblost.Text
tbresult.Text = ((a / (a + b) * 100))