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

69 lines
935 B
PHP
Raw Normal View History

<?php
// Settlement, Maturity, Frequency, Basis, Result
return [
[
39217,
'25-Jan-2007',
'15-Nov-2008',
2,
1,
],
[
40568,
'2011-01-01',
'2012-10-25',
4,
],
[
'#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,
],
[
'#NUM!',
'24-Dec-2000',
'24-Dec-2000',
4,
0,
],
[
36884,
'23-Dec-2000',
'24-Dec-2000',
4,
0,
],
[
36884,
'24-Sep-2000',
'24-Dec-2000',
4,
0,
],
[
36793,
'23-Sep-2000',
'24-Dec-2000',
4,
0,
],
];