Javascript IRR (Internal rate of return) Formula Accuracy

后端 未结 7 1605
名媛妹妹
名媛妹妹 2021-02-04 20:00

I\'m using a IRR function in javascript to create calculation a that is done in excel using its own IRR function. The problem is mine is little off and I have no idea why. Here\

7条回答
  •  故里飘歌
    2021-02-04 20:35

    Don't set your min IRR to 0. That is what bounds your answer. Try allowing it to go negative. Also don't try to calc an IRR on one number.

提交回复
热议问题