https://github.com/drum445/finance
Methods for performing financial calculations.
# Excel PMT function: =PMT((9.3/100)/12,36,-12995,6000,0)
puts Finance.payment(9.3, 36, 12995, 6000, 0) # => 269.92
# Excel PMT function: =PMT((9.3/100)/12,36,-12995,6000,1)
puts Finance.payment(9.3, 36, 12995, 6000, 1) # => 267.84