可以先将这个字符串转换成double
再转换成int
this.textBox1.Text = "0.0000000000000011444";
int m=0;
if (this.textBox1.Text == string.Empty)
this.textBox1.Text = "0";
if(this.textBox1.Text.Trim() == string.Empty)
this.textBox1.Text = "1";
if (int.TryParse(this.textBox1.Text, out m))
textBox1.Text = m.ToString();
double dtm = System.Convert.ToDouble(this.textBox1.Text);
int itmp = System.Convert.ToInt32(dtm);
MessageBox.Show(itmp.ToString());