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

27 lines
620 B
PHP

<?php
// Cost, Date purchased, End of the 1st period, Salvage, Period, Depreciation, Basis, Result
return [
[
360,
2400, '2008-08-19', '2008-12-31', 300, 1, 0.14999999999999999, 1,
],
[
30,
150, '2011-01-01', '2011-09-30', 20, 1, 0.20000000000000001, 4,
],
[
22.41666667,
150, '2011-01-01', '2011-09-30', 20, 0, 0.20000000000000001, 4,
],
[
17.58333333,
150, '2011-01-01', '2011-09-30', 20, 4, 0.20000000000000001, 4,
],
[
0.0,
150, '2011-01-01', '2011-09-30', 20, 5, 0.20000000000000001, 4,
],
];