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

52 lines
624 B
PHP
Raw Normal View History

<?php
// fractional_dollar, fraction, result
return [
[
1.02,
16,
1.125,
],
[
1.1000000000000001,
32,
1.3125,
],
[
1.01,
16,
1.0625,
],
[
1.1000000000000001,
16,
1.625,
],
[
1.03,
32,
1.09375,
],
[
1.3,
32,
1.9375,
],
[
1.1200000000000001,
32,
1.375,
],
[
1.2344999999999999,
0,
'#DIV/0!',
],
[
1.2344999999999999,
-2,
'#NUM!',
],
];