1.补充上面测算租金

This commit is contained in:
zhangbb 2020-06-28 15:09:04 +08:00
parent b9b92759e6
commit 3bc148ab51

View File

@ -176,9 +176,9 @@ public class RentTools {
String rem_corpus = mp.get("rem_corpus").toString();
String period_type = mp.get("period_type").toString();
String income_number_year = mp.get("income_number_year").toString();
String if_retry = mp.get("if_retry").toString();
// String if_retry = mp.get("if_retry").toString();
String nominalprice = mp.get("nominalprice").toString();
String rentScale = mp.get("rentScale").toString();
// String rentScale = mp.get("rentScale").toString();
// 得到每一期租金的利率
retu_vale = RateTools.getPreRate(retu_vale, income_number_year);
@ -188,7 +188,7 @@ public class RentTools {
// 得到租金
String rent = getPMT(retu_vale, rem_rent_list, "-" + rem_corpus, nominalprice, period_type);
return NumTools.formatNumberDoubleScale(rent, Integer.parseInt(rentScale));
return rent;
}
/**