C# 裡面整數除法是不保留餘數的整數結果,所以1/3為0 要得到結果可以double result = (double)1/3 保留2位小數:double result = Math.Round(
確定! 回上一頁