摘要: 五舍六入: Math.Round(3.44, 1); //Returns 3.4. Math.Round(3.45, 1); //Returns 3.4. Math.Round(3.46, 1); //Returns 3.5. 四舍五入: Math.Round(3.445, 1); //Returns 3.4. Math.Round(3.455, 1); //Returns 3.5. Math.Round(3.465, 1); //Returns 3.5. 阅读全文
posted @ 2006-08-03 15:54 BookWorm 阅读(23829) 评论(24) 推荐(2) 编辑