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:
Mark Baker
2021-03-19 18:50:43 +01:00
committed by GitHub
parent e59c751276
commit 4e8a926cb4
32 changed files with 1082 additions and 193 deletions
@@ -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',
],
[