Files
PhpSpreadsheet/tests/data/Calculation/Financial/NOMINAL.php
Mark Baker d5dc58d20e Extract information functions (#2605)
* Split Information functions into a dedicated class and namespace and categorise as Value or Error
* Refactor all error functions into the new ExcelError class
2022-02-19 13:53:17 +01:00

49 lines
716 B
PHP

<?php
// effect_rate, npery, result
use PhpOffice\PhpSpreadsheet\Calculation\Information\ExcelError;
return [
[
0.052500319868356002,
0.053543,
4,
],
[
0.096454756337780001,
0.10000000000000001,
4,
],
[
0.097617696340302998,
0.10000000000000001,
2,
],
[
0.024718035238113001,
0.025000000000000001,
12,
],
[
ExcelError::NAN(),
-0.025,
12,
],
[
ExcelError::NAN(),
0.025,
-12,
],
[
ExcelError::VALUE(),
'NaN',
12,
],
[
ExcelError::VALUE(),
0.025,
'NaN',
],
];