tmval.discount_from_interest

tmval.conversions.discount_from_interest(i: float) → float[source]

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

Parameters

i (float) – the interest rate.

Returns

the discount rate.

Return type

float