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

78 lines
1.2 KiB
PHP

<?php
// values, finance_rate, reinvestment_rate, Result
return [
[
[
-120000,
[
39000,
30000,
21000,
37000,
46000,
],
],
0.10000000000000001,
0.12,
0.12609413036591,
],
[
[
-120000,
[
39000,
30000,
21000,
],
],
0.10000000000000001,
0.12,
-0.048044655249981,
],
[
[
-120000,
[
39000,
30000,
21000,
37000,
46000,
],
],
0.10000000000000001,
0.14000000000000001,
0.13475911082830999,
],
[
[
-100,
[
12,
14,
11,
],
],
5.5,
5,
0.74021752686287001,
],
[
[
-100,
[
12,
14,
11,
13,
16,
],
],
5.5,
5,
1.8579321744785,
],
];