mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-08-24 07:08:25 +00:00
a34695e0f9
* Additional unit tests and rationalisation for Financial Functions * Providing a series of sample files for Financial functions * Refactor the last of the existing Financial functions * Some more unit tests with default assignments from null arguments Co-authored-by: Adrien Crivelli <adrien.crivelli@gmail.com>
45 lines
851 B
PHP
45 lines
851 B
PHP
<?php
|
|
|
|
return [
|
|
[
|
|
0.05282257198685834,
|
|
'16-Feb-2008', '1-Mar-2008', 99.795, 100, 2,
|
|
],
|
|
[
|
|
0.06220123250590336,
|
|
'1-Jan-2017', '30-Jun-2017', 97, 100,
|
|
],
|
|
[
|
|
0.06220123250590336,
|
|
'1-Jan-2017', '30-Jun-2017', 97, 100, 0,
|
|
],
|
|
[
|
|
0.06220123250590336,
|
|
'1-Jan-2017', '30-Jun-2017', 97, 100, null,
|
|
],
|
|
[
|
|
'#VALUE!',
|
|
'Invalid', '30-Jun-2017', 97, 100,
|
|
],
|
|
[
|
|
'#VALUE!',
|
|
'1-Jan-2017', 'Invalid', 97, 100,
|
|
],
|
|
[
|
|
'#VALUE!',
|
|
'1-Jan-2017', '30-Jun-2017', 'NaN', 100,
|
|
],
|
|
[
|
|
'#VALUE!',
|
|
'1-Jan-2017', '30-Jun-2017', 97, 'NaN',
|
|
],
|
|
[
|
|
'#NUM!',
|
|
'1-Jan-2017', '30-Jun-2017', -97, 100,
|
|
],
|
|
[
|
|
'#NUM!',
|
|
'1-Jan-2017', '30-Jun-2017', 97, -100,
|
|
],
|
|
];
|