Repository navigation
modeleon 0.2.4 - #5
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Release 0.2.4.
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.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!.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 (FVof the payment back to 0) need not come out exact — compare withROUNDor a tolerance.PMTat a rate below -100% over a whole term is#NUM!, as in the spreadsheet.The full list is in
CHANGELOG.md.