double类型如何保留2为小数 double d=12.2121;string str = d.ToString("F2"); double x = 29.982;Console.WriteLine(x.ToString(".00"));