function getYearRatio(price, yearIndex, interestRate) {
if (!yearIndex--) return price;
else return getYearRatio(price, yearIndex, interestRate) + getYearRatio(price, yearIndex, interestRate) * interestRate
}
年化利率fn
最新推荐文章于 2024-07-26 20:46:33 发布