c#保留3位小数,不足补0在datagridview中输入数据,34显示 成34.000[解决办法]dataGridView1.Columns[0].DefaultCellStyle.Format = "#.000 ";