摘要:
// list = normalList.Except(repairList).ToList(); //差集 // list = normalList.Union(repairList).ToList(); //并集 list = normalList.Intersect(repairList).... 阅读全文
随笔档案-2018年12月
c# 小数四舍五入,向上取整,向下取整,见角进元保留多个小数位数
2018-12-17 16:19 by 石吴玉, 2454 阅读, 收藏, 编辑
摘要:
/// /// 实现数据的四舍五入法 /// /// 要进行处理的数据 /// 保留的小数位数 /// 四舍五入后的结果 public decimal Round(decimal v, int x) { var isNegative = false; ... 阅读全文