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

62 lines
828 B
PHP

<?php
// Settlement, Maturity, Frequency, Basis, Result
return [
[
181,
'25-Jan-2007',
'15-Nov-2008',
2,
1,
],
[
90,
'2011-01-01',
'2012-10-25',
4,
],
[
182.5,
'25-Jan-2007',
'15-Nov-2008',
2,
3,
],
[
365,
'25-Jan-2007',
'15-Nov-2008',
1,
1,
],
[
365,
'25-Jan-2010',
'15-Nov-2011',
1,
1,
],
[
'#VALUE!',
'Invalid Date',
'15-Nov-2008',
2,
1,
],
[
'#VALUE!',
'25-Jan-2007',
'Invalid Date',
2,
1,
],
[
'#NUM!',
'25-Jan-2007',
'15-Nov-2008',
3,
1,
],
];