摘要: Math.Ceiling()向上取整,Math.Floor()向下取整 示例: d = 4.56789 Math.Ceiling(Convert.ToDecimal(d)).ToString();Math.Ceiling(Convert.ToDouble(d)).ToString();Math.Fl... 阅读全文
posted @ 2016-01-05 20:19 struggle-way 阅读(264) 评论(0) 推荐(0) 编辑