Skip to content

What replaced the Financial class? #2322

Answered by oleibman
rafaelmiti asked this question in Q&A
Discussion options

You must be logged in to vote

Most of the Calculation classes were refactored to move from one massive module to many smaller and easier-to-maintain modules. In the case of Financial, there is now Financial/Amortization (function AMORDEGRC and AMORLINC), Financial/Coupons (COUPDAYBS, COUPDAYS, COUPDAYSNC, COUPNCD, COUPNUM, COUPPCD), etc. There is even some second- and third-level refactoring, e.g. Financial/Cashflow/Single (FVSCHEDULE, PVDURATION, and RRI). The stub that remains as Calculation/Financial.php should have entries for all the old functions with a reference to where they now reside (look for @see comments).

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by oleibman
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants