tmval.Amount.interest_earned

Amount.interest_earned(t1: float, t2: float) → float[source]

Calculates the amount of interest earned over a time period.

Parameters
  • t1 (float) – beginning of the period.

  • t2 (float) – end of the period.

Returns

The amount of interest earned over the time period.

Return type

float