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

88 lines
1.2 KiB
PHP
Raw Normal View History

<?php
// rate, nper, pv, start_period, end_period, type, result
return [
[
0.0074999999999999997,
360,
125000,
13,
24,
0,
-934.10712342088004,
],
[
0.0074999999999999997,
360,
125000,
1,
1,
0,
-68.278271180977001,
],
[
0.0041666666669999998,
60,
50000,
1,
12,
0,
-9027.7626490046005,
],
[
0.0041666666669999998,
60,
50000,
13,
24,
0,
-9489.6401197913001,
],
[
0.0041666666669999998,
60,
50000,
25,
36,
0,
-9975.1481185740995,
],
[
0.0041666666669999998,
60,
50000,
37,
48,
0,
-10485.495628014,
],
[
0.0041666666669999998,
60,
50000,
49,
60,
0,
-11021.953484617001,
],
[
0.0074999999999999997,
360,
125000,
24,
13,
0,
'#VALUE!',
],
[
0.0074999999999999997,
360,
125000,
24,
13,
2,
'#NUM!',
],
];