tmval.Amount.discount_interval

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

Calculates the effective discount rate over a time period.

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

  • t2 (float) – the end of the time period.

Returns

the effective discount rate over the time period.

Return type

float