四舍五入保留两位小数double d =Convert.ToDouble(dt.Rows[0]["orgprc"].ToString().Trim()); this.ptxtorgprc.Text = Convert.ToString( Math.Round(d, 2));