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

49 lines
644 B
PHP

<?php
// Settlement, Maturity, Frequency, Basis, Result
return [
[
'25-Jan-2007',
'15-Nov-2008',
2,
1,
4,
],
[
'2011-01-01',
'2012-10-25',
4,
0,
8,
],
[
'Invalid Date',
'15-Nov-2008',
2,
1,
'#VALUE!',
],
[
'25-Jan-2007',
'Invalid Date',
2,
1,
'#VALUE!',
],
[
'25-Jan-2007',
'15-Nov-2008',
3,
1,
'#NUM!',
],
[
'01-Jan-2008',
'31-Dec-2012',
1,
1,
5,
],
];