tmval.Loan.interest_paid

Loan.interest_paid(t2: float, t1: float = 0, frac: bool = False) → float[source]

Calculates the total interest paid between two points in time.

Parameters
  • t2 (float) – The second point in time.

  • t1 (float) – The first point in time.

  • frac (bool) – Whether you want the answer as a fraction of the total interest of the loan.

Returns

The total interest paid.

Return type

float