mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-08-28 11:07:52 +00:00
Final part of breaking down the Engineering class for Excel Engineering functions into smaller individual/group classes (#1940)
* Final breaking down the Engineering class for Excel Engineering functions into smaller individual/group classes * Additional unhappy path tests for Complex Number functions * Fix return docblocks for floats to allow for error strings
This commit is contained in:
@@ -1,10 +1,16 @@
|
||||
<?php
|
||||
|
||||
use PhpOffice\PhpSpreadsheet\Calculation\Functions;
|
||||
|
||||
return [
|
||||
[
|
||||
'3.76344325733562+0.621384040306436j',
|
||||
'12.34+5.67j',
|
||||
],
|
||||
[
|
||||
Functions::NAN(),
|
||||
'Invalid Complex Number',
|
||||
],
|
||||
[
|
||||
'32.6586381298614+2.26618007108803i',
|
||||
'-12.34E-5+6.78E9i',
|
||||
@@ -58,7 +64,7 @@ return [
|
||||
'i',
|
||||
],
|
||||
[
|
||||
'#NUM!',
|
||||
Functions::NAN(),
|
||||
'0',
|
||||
],
|
||||
[
|
||||
|
||||
Reference in New Issue
Block a user