Calculates the interest rate per period for a loan or investment using numpy financial functions.
Registered as a process-text handler.
| Parameter | Description |
|---|---|
Param1 |
Number of periods (term) |
Param2 |
Payment amount per period (negated internally) |
Param3 |
Present value (loan amount) |
Negates Param2 before passing to numpy.rate(term, payment, amount, 0). Multiplies the result by 100 to convert to a percentage, rounds to 2 decimal places, and returns as a positive value.
Returns the interest rate as a percentage string (e.g. "1.5").
ObjProcessText(ObjData.ObjData) — inherits database and config access from ObjData.
cythonize -3 -a -i ObjTextRATE.py
Updated : 2025-10-02