Format the string like below;
String.Format("{0:0.000}", txtbox7.Text);
I assume that you required 3 decimal points after ".", if your expectation is like that then that would be helpful to you.
You can do this in another way also, you just convert that string into decimal and round the decimal point.