mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-08-23 01:35:12 +00:00
d5dc58d20e
* Split Information functions into a dedicated class and namespace and categorise as Value or Error * Refactor all error functions into the new ExcelError class
49 lines
716 B
PHP
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',
|
|
],
|
|
];
|