aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
blob: 034231f8468731a724fe6afbd275d7897064d8ad (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# lpd

simple **l**ump-sum **p**ay**d**own calculator

`lpd` reports how many months remain on a given loan, based on the provided
principal balance, interest rate and monthly payment, then advises the payment
amounts that, if made now in addition to the ordinary monthly payments, would
reduce the loan term to the specified number of months. It will report up to
twelve of these.

Because math is cool, we avoid recursion.

## Installation & Usage

Compile with [Zig](https://ziglang.org/), i.e. `zig build-exe lpd.zig`.

Learn to use with `lpd -h`.