float y =8.60000000000000000; string s = y.ToString("F2"); 转载于:https://www.cnblogs.com/ision/archive/2010/09/27/1836863.html