simple_interest/3 is an Erlang function exported by "age_math" module. Calculates cumulative interest with high precision. This function can be used with relative units at your discretion. The code sample below demonstrates the calculation of simple interest for 6 months with 12.55% per month for €200. |
|
|