C# 的Math.Round是"就近舍入",当要舍入的是5时与"四舍五入"不同(取偶数),如: Console.WriteLine(Math.Round(0.5));//0 Console.WriteLine(Math.
確定! 回上一頁