realestate-jp
Version:
不動産関連のユーティリティ関数を提供するライブラリ
19 lines • 847 B
TypeScript
import type { LoanResult } from "./types.js";
/**
* 元利均等方式による住宅ローン返済を計算する(ボーナス加算対応)
*
* @param principal 借入金額(円)
* @param rate 年利(%、デフォルト: 1.5)
* @param years 返済年数(デフォルト: 35)
* @param downPayment 頭金(円、デフォルト: 0)
* @param annualBonus 年間ボーナス加算額(円、夏冬合計、デフォルト: 0)
* @returns ローン返済結果
*
* @example 使用例
* ```ts
* const result = calcEqualPrincipalAndInterest(30000000, 1.5, 35, 5000000, 200000);
* console.log(result);
* ```
*/
export declare function calcEqualPrincipalAndInterest(principal: number, rate?: number, years?: number, downPayment?: number, annualBonus?: number): LoanResult;
//# sourceMappingURL=equal_interest.d.ts.map