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

76 lines
1.2 KiB
PHP
Raw Normal View History

<?php
// Issue date, 1st Interest, Settlement, Rate, Par, Freq, Basis, Result
return [
[
16.666666666666998,
'2008-03-01',
'2008-08-31',
'2008-05-01',
0.10000000000000001,
1000,
2,
0,
],
[
15.555555555555999,
'2008-03-05',
'2008-08-31',
'2008-05-01',
0.10000000000000001,
1000,
2,
0,
],
[
200,
'2010-01-01',
'2010-06-30',
'2010-04-01',
0.080000000000000002,
10000,
4,
],
[
'#NUM!',
'2008-03-05',
'2008-08-31',
'2008-05-01',
-0.10000000000000001,
1000,
2,
0,
],
[
'#VALUE!',
'Invalid Date',
'2008-08-31',
'2008-05-01',
0.10000000000000001,
1000,
2,
0,
],
[
'#VALUE!',
'2008-03-01',
'2008-08-31',
'2008-05-01',
'ABC',
1000,
2,
0,
],
[
'#VALUE!',
'2008-03-01',
'2008-08-31',
'2008-05-01',
0.10000000000000001,
1000,
2,
'ABC',
],
];