PhpSpreadsheet/tests/data/Cell/SetValueExplicit.php

52 lines
826 B
PHP
Raw Normal View History

<?php
use PhpOffice\PhpSpreadsheet\Cell\DataType;
return [
[
1234567890123456789,
'01234567890123456789',
DataType::TYPE_NUMERIC,
],
[
1234567890123456789,
1234567890123456789,
DataType::TYPE_NUMERIC,
],
[
123.456,
'123.456',
DataType::TYPE_NUMERIC,
],
[
123.456,
123.456,
DataType::TYPE_NUMERIC,
],
[
0,
null,
DataType::TYPE_NUMERIC,
],
[
0,
false,
DataType::TYPE_NUMERIC,
],
[
1,
true,
DataType::TYPE_NUMERIC,
],
[
'#DIV/0!',
'#DIV/0!',
DataType::TYPE_ERROR,
],
[
'#NULL!',
'NOT A VALID ERROR TYPE VALUE',
DataType::TYPE_ERROR,
],
];