四捨五入or四捨六入五成雙

Math.Round <= 四捨六入五成雙
Math.Round(5.7,MidpointRounding.AwayFromZero) <= 四捨五入到整數
ToString("0.00") <= 四捨五入到兩位小數

留言

熱門文章