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

71 lines
991 B
PHP
Raw Normal View History

<?php
// rate, per, nper, pv, fv, type, Result
return [
[
0.0083333333329999992,
3,
3,
8000,
-22.406893015021002,
],
[
0.10000000000000001,
3,
3,
8000,
-292.44712990937001,
],
[
0.0041666666669999998,
1,
60,
50000,
-208.33333335,
],
[
0.0041666666669999998,
2,
60,
50000,
-205.26988189617001,
],
[
0.0087500000000000008,
1,
8,
10000,
5000,
1,
0.0,
],
[
0.0087500000000000008,
2,
8,
10000,
5000,
1,
-70.968650395558996,
],
[
0.0050000000000000001,
2,
8,
2500,
200,
6,
'#NUM!',
],
[
0.0050000000000000001,
8,
2,
2500,
200,
1,
'#VALUE!',
],
];