摘要: Math.Round(0.4) //result:0 Math.Round(0.5) //result:0 Math.Round(0.6) //result:1 Math.Round(0.4, MidpointRounding.AwayFromZero); // result:0 Math.Round(0.5, MidpointRounding.AwayFromZero); // res... 阅读全文