tmval.apr¶
-
tmval.conversions.
apr
(i: float, m: float) → tmval.conversions.RateTemplate[source]¶ An alias for
nominal_from_eff()
. Returns annual percentage rate, or nominal interest rate (APR), given an effective rate of interest and compounding frequency of the desired nominal rate.- Parameters
i (float) – the effective rate of interest
m (float) – the desired compounding frequency, i.e., compounded m times per year
- Returns
the annual percentage rate, or nominal rate of interest (APR)
- Return type
float