mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-09-26 00:01:16 +00:00
dd97b8fed1
* Fixed inconsistent string handling in SUM() implementations * Use assertEqual instead of assertSame to allow ints and floats with the same value * Removewd special handling of empty strings and use default casts * Eliminate Phpstan errors * More Test Cases * More New Tests --------- Co-authored-by: oleibman <10341515+oleibman@users.noreply.github.com>
15 lines
414 B
PHP
15 lines
414 B
PHP
<?php
|
|
|
|
return [
|
|
[50, 5, 15, 30],
|
|
[52, 5, 15, 30, 2],
|
|
[53.1, 5.7, 15, 30, 2.4],
|
|
[52.1, 5.7, '14', 30, 2.4],
|
|
[52.2, 5.7, '14.1', 30, 2.4],
|
|
[38.1, 5.7, 'X', 30, 2.4], // error if entered in formula, but not in cell
|
|
[38.1, 5.7, '', 30, 2.4], // error if entered in formula, but not in cell
|
|
[38.1, 5.7, null, 30, 2.4],
|
|
[38.1, 5.7, false, 30, 2.4],
|
|
[39.1, 5.7, true, 30, 2.4],
|
|
];
|