This commit is contained in:
jinyu 2016-10-24 13:17:52 +08:00
parent 1b5c4208fa
commit e02b1da3af
2 changed files with 2 additions and 1 deletions

View File

@ -130,6 +130,6 @@ public final class DateUtil {
public static double formatFee2Yuan(int fee) {
BigDecimal _fee = new BigDecimal(Integer.toString(fee));
return _fee.divide(new BigDecimal("100"))
.setScale(0, BigDecimal.ROUND_HALF_EVEN).doubleValue();
.setScale(2, BigDecimal.ROUND_HALF_EVEN).doubleValue();
}
}

View File

@ -30,3 +30,4 @@ target/*
Thumbs.db
/target/
.DS_Store
bin