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

112 lines
1.4 KiB
PHP

<?php
// Settlement, Maturity, Frequency, Basis, Result
return [
[
4,
'25-Jan-2007',
'15-Nov-2008',
2,
1,
],
[
8,
'2011-01-01',
'2012-10-25',
4,
0,
],
[
'#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,
],
[
5,
'01-Jan-2008',
'31-Dec-2012',
1,
1,
],
[
'#NUM!',
'24-Dec-2000',
'24-Dec-2000',
4,
0,
],
[
1,
'23-Dec-2000',
'24-Dec-2000',
4,
0,
],
[
1,
'24-Sep-2000',
'24-Dec-2000',
4,
0,
],
[
2,
'23-Sep-2000',
'24-Dec-2000',
4,
0,
],
[
16,
'1-Apr-2012',
'31-Mar-2020',
2,
0,
],
[
16,
'1-Apr-2012',
'31-Mar-2020',
2,
1,
],
[
16,
'1-Apr-2012',
'31-Mar-2020',
2,
2,
],
[
16,
'1-Apr-2012',
'31-Mar-2020',
2,
3,
],
[
16,
'1-Apr-2012',
'31-Mar-2020',
2,
4,
],
];