取数据库float截取数点两位 F.ACode = System.Math.Round(Convert.ToDouble(dt.Rows[0]["Week_KK"].ToString()),2).ToString();