tmval.effective_from_nominal_int

tmval.conversions.effective_from_nominal_int(im: float, m: float) → float[source]

A nominal/effective interest rate converter. Given a NominalInt object, returns the effective interest rate. You may also supply the nominal interest rate and compounding frequency, but not when a NominalInt is already supplied and vice-versa.

Parameters
  • im (float) – the nominal interest rate.

  • m (float) – the compounding frequency.

Returns

the effective interest rate.

Return type

float