PhpSpreadsheet/tests/data/Calculation/Financial/IRR.php

62 lines
989 B
PHP

<?php
// values, guess, Result
return [
[
-0.02124484827341,
[
-70000,
12000,
15000,
18000,
21000,
],
],
[
0.086630948036519995,
[
-70000,
12000,
15000,
18000,
21000,
26000,
],
],
[
-0.1821374641455,
[
-70000,
12000,
15000,
18000,
],
0.10000000000000001,
],
[
-0.13618951095869,
[
-100,
[
20,
24,
28.800000000000001,
],
],
],
[
0.13057575637152699,
[
-100,
[
20,
24,
28.800000000000001,
34.560000000000002,
41.469999999999999,
],
],
],
];