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

43 lines
610 B
PHP

<?php
// rate, values, result
return [
[
0.10000000000000001,
-10000,
3000,
4200,
6800,
1188.4434123352,
],
[
0.080000000000000002,
8000,
9200,
10000,
12000,
14500,
41922.061554931999,
],
[
0.080000000000000002,
8000,
9200,
10000,
12000,
14500,
-9000,
36250.534912984003,
],
[
0.050000000000000003,
2000,
2400,
2900,
3500,
4100,
12678.677633095,
],
];