tmval.eff_disc_from_eff_disc

tmval.conversions.eff_disc_from_eff_disc(d: float, old_t: float, new_t: float) → tmval.conversions.RateTemplate[source]

A nominal/effective interest/discount rate converter. Given an effective discount rate and unit of time, along with a desired new unit of time, returns an effective discount rate at the desired new unit of time. period.

Parameters
  • d (float) – the effective discount rate.

  • old_t (float) – the old unit of time.

  • new_t (float) – the new unit of time.

Returns

an effective discount rate at the new unit of time.

Return type

RateTemplate