You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Amortization payments will match the compounding periods of the Rate given. So the example I gave before should work here.
I probably ought to have a #balance method which gives you the balance of the loan in a particular period. This would make it easier to replicate cumprinc.
r = Finance::Rate.new( Flt::DecNum('0.06'), :apr, :duration => 10.years, :compounds => 4 )
a = Finance::Amortization.new( 1000, r )
a.interest seems to have 10_12 entries, not 10_4
doesn't seem to be right with duration set to 10 or 10 * 4 either ( it doesn't apply 1/4 of 0.06 as expected )
is there some way to do this that just isn't obvious from the readme? or is this simply non-working?
The text was updated successfully, but these errors were encountered: