If RadioButtonAC144.Checked = True Then
TextBoxACScale.Text = TextBoxACReal.Text / 144
ElseIf RadioButtonAC72.Checked = True Then
TextBoxACScale.Text = TextBoxACReal.Text / 72
ElseIf RadioButtonAC48.Checked = True Then
TextBoxACScale.Text = TextBoxACReal.Text / 48
ElseIf RadioButtonAC35.Checked = True Then
TextBoxACScale.Text = TextBoxACReal.Text / 35
ElseIf RadioButtonAC32.Checked = True Then
TextBoxACScale.Text = TextBoxACReal.Text / 32
ElseIf RadioButtonAC24.Checked = True Then
TextBoxACScale.Text = TextBoxACReal.Text / 24
End If
This is my code, I have several pages(tabs) similar to this, so it's a PITA to change it all up but if it's the only way then so be it, however I just need the result that is showing up in TextBoxACScale.Text to show up to only 2 decimal places. This code is implemented when clicking a calculate button.