PhpSpreadsheet/tests/data/Calculation/MathTrig/ROUNDDOWN.php

85 lines
1.0 KiB
PHP

<?php
return [
[
662,
662.78999999999996,
0,
],
[
662.70000000000005,
662.78999999999996,
1,
],
[
50,
54.100000000000001,
-1,
],
[
50,
55.100000000000001,
-1,
],
[
-23.600000000000001,
-23.670000000000002,
1,
],
[
3,
3.2000000000000002,
0,
],
[
3,
3.2000000000000002,
0.01,
],
[
76,
76.900000000000006,
0,
],
[
3.141,
3.1415899999999999,
3,
],
[
-3.1000000000000001,
-3.1415899999999999,
1,
],
[
31400,
31415.92654,
-2,
],
[
31410,
31415.92654,
-1,
],
[
4.44,
4.4400,
2,
],
[
5.20,
2.26 + 2.94,
2,
],
[
'#VALUE!',
'ABC',
1,
],
[
'#VALUE!',
1.234,
'ABC',
],
];