tmval.eff_disc_from_nom_disc¶
-
tmval.conversions.
eff_disc_from_nom_disc
(dm: float, m: float, new_t: float) → tmval.conversions.RateTemplate[source]¶ A nominal/effective interest/discount rate converter. Given a nominal discount rate, along with a desired unit of time, returns an effective discount rate at the desired unit of time.
- Parameters
dm (float) – the nominal discount rate.
m (float) – the compounding frequency.
new_t (float) – the desired unit of time.
- Returns
an effective discount rate, at the desired unit of time.
- Return type
RateTemplate