Repository navigation
modeleon 0.2.4
Install or upgrade: pip install -U modeleon
PMT,FVandPVrun inside a loop container — a payment worked out each month on the balance as it stands,d.payment = -mo.PMT(rate, months_left, d.open), is one live=-PMT(…)per column, asIPMTandPPMTalready were; a month with no term left is#NUM!, guarded withmo.IF(months_left > 0, …, 0).PMT,FVandPVgive the spreadsheet's results at the edges —#NUM!where the recalculated book shows it, the error a cell holds as the result, atypeother than 0 read as 1;PMTkeeps its digits at tiny rates.- A
Decimalor a numpy value reads as the value it holds in the functions that read a number as the spreadsheet does (IPMT,NPER,EXP,VALUE,TEXT, …), where 0.2.3 gave#VALUE!. - Totals that turn on the period's number or dates — a formula whose total turns on
mo.time.index,.startor.end(a price switched by date, a payroll grown by the period's number) no longer sums or recomputes to a wrong total: without a re-grain rule its total cells show#VALUE!, andmodel.at(grain)raises, naming the line and the rule to give.
Behaviour changes: a flow switched on by date or by the period's number, which 0.2.3 summed right, now needs .set_regrain(mo.up('sum')) (a level read off the dates, mo.up('last')). PMT's last digits move, so an identity built on it (FV of the payment back to 0) need not come out exact — compare with ROUND or a tolerance. PMT at a rate below -100% over a whole term is #NUM!, as in the spreadsheet.
The full list is in CHANGELOG.md.