tmval.interest_from_discount

tmval.conversions.interest_from_discount(d: float) → float[source]

An interest/discount rate converter. Returns the interest rate, given the discount rate.

Parameters

d (float) – the discount rate.

Returns

the interest rate.

Return type

float