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

116 lines
1.4 KiB
PHP
Raw Normal View History

<?php
// cost, salvage, life, period, month, result
return [
[
0.13150684931507001,
2400,
300,
36500,
1,
],
[
0.13149964346031001,
2400,
300,
36500,
2,
],
[
0.13146362010870999,
2400,
300,
36500,
7,
],
[
0.91843145432707995,
2400,
300,
36500,
7,
14,
],
[
40.0,
2400,
300,
120,
1,
2,
],
[
480.0,
2400,
300,
10,
1,
2,
],
[
306.0,
2400,
300,
10,
2,
1.5,
],
[
22.122547200000302,
2400,
300,
10,
10,
],
[
4000.0,
10000,
1000,
5,
1,
],
[
2400.0,
10000,
1000,
5,
2,
],
[
1440.0,
10000,
1000,
5,
3,
],
[
864.0,
10000,
1000,
5,
4,
],
[
296.0,
10000,
1000,
5,
5,
],
[
'#NUM!',
-2400,
300,
36500,
1,
],
[
'#VALUE!',
'ABC',
300,
36500,
1,
],
];