Math.Floor 总是舍去小数
double result1 = Math.Floor(0.3); Console.WriteLine(result1);//result1显示0 double result2 = Math.Floor(0.5); Console.WriteLine(result2);//result2显示0 double result3 = Math.Floor(0.6); Console.WriteLine(result3);//result3显示0 Console.Read();