1.求和
BigDecimal addResult=
students.stream().map(Student::getMoney).reduce(BigDecimal.ZERO,BigDecimal::add);
-------------------------------------------------------------------
// 得到结果:70.1611
System.out.println(addResult.setScale(4,BigDecimal.ROUND_HALF_UP));
-------------------------------------------------------------------
// 得到结果:70.161096
System.out.println(addResult.doubleValue());