等額本金,月數=年份*12,月利率=年利率/12
每月本金壹樣=貸款額/月數
N月利息:[(貸款額-貸款額*(N-1)/貸款月數)]*月利率
M月提前還款:
已償還的本金額:貸款額*M/月數
提前還款金額=貸款額-貸款額*M/貸款月數 。