mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-08-23 22:08:28 +00:00
8d3097517e
* Additional Unit Tests for XIRR and XNPV See discussion in issue #3297. Excel result disagreed with PhpSpreadsheet, but it seems apparent that the error is Excel's. Although we have other test cases where Excel and PhpSpreadsheet disagree, those have so far been cases where Excel cannot give an answer because its algorithm does not converge, which is possible for any algorithm. In the issue in question, Excel seems to converge to a different answer; this is different than the other exceptions, and so deserves documentation with a formal test case. The discussion also mentions some cases where XNPV seems to give the wrong result in Excel, and those cases are added for XNPV. * Scrutinizer Whatever.