effective-interest-rate:计算实际利息,XIRR或实际年利率

时间:2024-05-26 22:13:28
【文件属性】:

文件名称:effective-interest-rate:计算实际利息,XIRR或实际年利率

文件大小:11KB

文件格式:ZIP

更新时间:2024-05-26 22:13:28

finance mathematics interest interest-rates PHP

有效利率 这是一个计算实际利率的库。 有效权益也可以称为XIRR或有效APR。 这是PHP库。 您可以找到该库JavaScript版本。 例子 等额付款 如果您要提供100 000 Money的汽车贷款。 贷款为期48个月,您每月需要支付2400钱。 有效利息是多少? 我们猜它大约在3%左右。 use Nyholm \ EffectiveInterest \ Calculator ; $ principal = 100000 ; $ payment = 2400 ; $ numberOfMonths = 48 ; $ guess = 0.03 ; $ calculator = new Calculator (); $ interest = $ calculator -> withEqualPayments ( $ principal , $ payment , $ numberOfM


【文件预览】:
effective-interest-rate-master
----Readme.md(3KB)
----src()
--------Calculator.php(3KB)
--------NewtonRaphson.php(1KB)
----doc()
--------images()
----LICENSE(1KB)
----tests()
--------NewtonRaphsonTest.php(756B)
--------CalculatorSpecifiedPaymentsTest.php(10KB)
--------CalculatorEqualPaymentsTest.php(797B)
----Changelog.md(147B)
----composer.json(998B)

网友评论