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

46 lines
703 B
PHP

<?php
// Issue date, Settlement, Rate, Par, Basis, Result
return [
[
'2008-04-01',
'2008-06-15',
0.10000000000000001,
1000,
3,
20.547945205478999,
],
[
'2010-01-01',
'2010-12-31',
0.080000000000000002,
10000,
800,
],
[
'2008-03-05',
'2008-08-31',
-0.10000000000000001,
1000,
2,
'#NUM!',
],
[
'Invalid Date',
'2008-08-31',
0.10000000000000001,
1000,
2,
'#VALUE!',
],
[
'2008-03-01',
'2008-08-31',
'ABC',
1000,
2,
'#VALUE!',
],
];