PhpSpreadsheet/tests/data/Calculation/Functions/N.php

139 lines
1.6 KiB
PHP
Raw Normal View History

<?php
return [
[
0,
],
[
null,
0,
],
[
-1,
-1,
],
[
1.25,
1.25,
],
[
'',
0,
],
[
'2.5',
0,
],
[
'TRUE',
0,
],
[
'ABCDE',
0,
],
[
true,
1,
],
[
'#DIV/0!',
'#DIV/0!',
],
[
'#NUM!',
'#NUM!',
],
[
[
null,
],
0,
],
[
[
123,
],
123,
],
[
[
[
123,
456,
],
],
123,
],
[
[
[
123,
'A',
],
],
123,
],
[
[
[
'A',
123,
],
],
0,
],
[
[
[
'A',
123,
],
[
456,
789,
],
],
0,
],
[
[
[
123,
'A',
],
[
456,
789,
],
],
123,
],
[
[
[
123,
456,
],
[
'A',
789,
],
],
123,
],
[
[
[
123,
456,
],
[
789,
'A',
],
],
123,
],
];