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

88 lines
1.2 KiB
PHP

<?php
// rate, nper, pv, start_period, end_period, type, result
return [
[
0.0074999999999999997,
360,
125000,
13,
24,
0,
-11135.232130750999,
],
[
0.0074999999999999997,
360,
125000,
1,
1,
0,
-937.5,
],
[
0.0041666666669999998,
60,
50000,
1,
12,
0,
-2294.9775375120998,
],
[
0.0041666666669999998,
60,
50000,
13,
24,
0,
-1833.1000667254,
],
[
0.0041666666669999998,
60,
50000,
25,
36,
0,
-1347.5920679425001,
],
[
0.0041666666669999998,
60,
50000,
37,
48,
0,
-837.24455850309005,
],
[
0.0041666666669999998,
60,
50000,
49,
60,
0,
-300.78670189938998,
],
[
0.0074999999999999997,
360,
125000,
24,
13,
0,
'#VALUE!',
],
[
0.0074999999999999997,
360,
125000,
24,
13,
2,
'#NUM!',
],
];