mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-08-20 23:21:01 +00:00
42761f90b7
* Start extracting CashFlow functions from Financial, beginning with the simple Single Rate flows * Extracting Variable Periodic and NonPeriodic CashFlow functions from Financial * Some more unit tests for exception cases
43 lines
547 B
PHP
43 lines
547 B
PHP
<?php
|
|
|
|
// rate, values, result
|
|
|
|
return [
|
|
[
|
|
1188.4434123352,
|
|
0.10,
|
|
-10000,
|
|
3000,
|
|
4200,
|
|
6800,
|
|
],
|
|
[
|
|
41922.061554931999,
|
|
0.08,
|
|
8000,
|
|
9200,
|
|
10000,
|
|
12000,
|
|
14500,
|
|
],
|
|
[
|
|
36250.534912984003,
|
|
0.08,
|
|
8000,
|
|
9200,
|
|
10000,
|
|
12000,
|
|
14500,
|
|
-9000,
|
|
],
|
|
[
|
|
12678.677633095,
|
|
0.05,
|
|
2000,
|
|
2400,
|
|
2900,
|
|
3500,
|
|
4100,
|
|
],
|
|
];
|