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

53 lines
756 B
PHP

<?php
return [
[
10.33803507,
[0.04, 10000, 15000],
],
[
3.859866162622655,
[0.025, 2000, 2200],
],
[
87.6054764193714,
[0.025 / 12, 1000, 1200],
],
[
3.5644379226484437,
[0.03, 9000, 10000],
],
[
14.206699082890474,
[0.05, 50, 100],
],
[
'#VALUE!',
['NaN', 50, 100],
],
[
'#VALUE!',
[0.05, 'NaN', 100],
],
[
'#VALUE!',
[0.05, 50, 'NaN'],
],
[
'#NUM!',
[-0.10, 50, 100],
],
[
'#NUM!',
[0.00, 50, 100],
],
[
'#NUM!',
[0.05, 0, 100],
],
[
'#NUM!',
[0.05, 50, 0],
],
];