tmval.effective_from_nominal_disc¶
-
tmval.conversions.
effective_from_nominal_disc
(dm: float, m: float)[source]¶ A nominal/effective discount rate converter. Given a
NominalDisc
object, returns the effective discount rate. You may also supply the nominal discount rate and compounding frequency, but not when aNominalDisc
is already supplied and vice-versa.- Parameters
dm (float) – the nominal discount rate.
m (float) – the compounding frequency.
- Returns
the effective discount rate
- Return type
float