Files
PhpSpreadsheet/tests/data/Calculation/Financial/PMT.php
T
Mark Baker bc18fb7e77 more extraction of Excel Financial functions (#1989)
* More Financial function extracts, this time looking at the Periodic Cashflow functions
* Initial extract of Constant Periodic Interest and Payment functions
2021-04-06 12:45:37 +02:00

53 lines
880 B
PHP

<?php
return [
[
-1037.032089359164,
[0.08 / 12, 10, 10000],
],
[
-1030.164327177977,
[0.08 / 12, 10, 10000, null, 1],
],
[
-129.081160867995,
[0.06 / 12, 18 * 12, 0.0, 50000],
],
[
-943.56168220055,
[0.05 / 12, 60, 50000],
],
[
-600.85202718047,
[0.035 / 4, 8, 0, 5000, 1],
],
[
-750.00,
[0.0, 8, 1000, 5000, 1],
],
[
'#VALUE!',
['NaN', 8, 0, 5000, 1],
],
[
'#VALUE!',
[0.035 / 4, 'NaN', 0, 5000, 1],
],
[
'#VALUE!',
[0.035 / 4, 8, 'NaN', 5000, 1],
],
[
'#VALUE!',
[0.035 / 4, 8, 0, 'NaN', 1],
],
[
'#VALUE!',
[0.035 / 4, 8, 0, 5000, 'NaN'],
],
[
'#NUM!',
[0.035 / 4, 8, 0, 5000, 2],
],
];