@@ -130,7 +130,7 @@ public static function AVERAGEIF($range, $condition, $averageRange = [])
130
130
* @param mixed $rMin
131
131
* @param mixed $rMax
132
132
*
133
- * @return float|string
133
+ * @return array| float|string
134
134
*/
135
135
public static function BETADIST ($ value , $ alpha , $ beta , $ rMin = 0 , $ rMax = 1 )
136
136
{
@@ -153,7 +153,7 @@ public static function BETADIST($value, $alpha, $beta, $rMin = 0, $rMax = 1)
153
153
* @param float $rMin Minimum value
154
154
* @param float $rMax Maximum value
155
155
*
156
- * @return float|string
156
+ * @return array| float|string
157
157
*/
158
158
public static function BETAINV ($ probability , $ alpha , $ beta , $ rMin = 0 , $ rMax = 1 )
159
159
{
@@ -179,7 +179,7 @@ public static function BETAINV($probability, $alpha, $beta, $rMin = 0, $rMax = 1
179
179
* @param mixed $probability Probability of success on each trial
180
180
* @param mixed $cumulative
181
181
*
182
- * @return float|string
182
+ * @return array| float|string
183
183
*/
184
184
public static function BINOMDIST ($ value , $ trials , $ probability , $ cumulative )
185
185
{
@@ -199,7 +199,7 @@ public static function BINOMDIST($value, $trials, $probability, $cumulative)
199
199
* @param float $value Value for the function
200
200
* @param float $degrees degrees of freedom
201
201
*
202
- * @return float|string
202
+ * @return array| float|string
203
203
*/
204
204
public static function CHIDIST ($ value , $ degrees )
205
205
{
@@ -219,7 +219,7 @@ public static function CHIDIST($value, $degrees)
219
219
* @param float $probability Probability for the function
220
220
* @param float $degrees degrees of freedom
221
221
*
222
- * @return float|string
222
+ * @return array| float|string
223
223
*/
224
224
public static function CHIINV ($ probability , $ degrees )
225
225
{
@@ -240,7 +240,7 @@ public static function CHIINV($probability, $degrees)
240
240
* @param float $stdDev Standard Deviation
241
241
* @param float $size
242
242
*
243
- * @return float|string
243
+ * @return array| float|string
244
244
*/
245
245
public static function CONFIDENCE ($ alpha , $ stdDev , $ size )
246
246
{
@@ -415,7 +415,7 @@ public static function COVAR($yValues, $xValues)
415
415
* @param float $probability probability of a success on each trial
416
416
* @param float $alpha criterion value
417
417
*
418
- * @return int|string
418
+ * @return array| int|string
419
419
*/
420
420
public static function CRITBINOM ($ trials , $ probability , $ alpha )
421
421
{
@@ -460,7 +460,7 @@ public static function DEVSQ(...$args)
460
460
* @param float $lambda The parameter value
461
461
* @param bool $cumulative
462
462
*
463
- * @return float|string
463
+ * @return array| float|string
464
464
*/
465
465
public static function EXPONDIST ($ value , $ lambda , $ cumulative )
466
466
{
@@ -486,7 +486,7 @@ public static function EXPONDIST($value, $lambda, $cumulative)
486
486
* @param bool $cumulative If cumulative is TRUE, F.DIST returns the cumulative distribution function;
487
487
* if FALSE, it returns the probability density function.
488
488
*
489
- * @return float|string
489
+ * @return array| float|string
490
490
*/
491
491
public static function FDIST2 ($ value , $ u , $ v , $ cumulative )
492
492
{
@@ -507,7 +507,7 @@ public static function FDIST2($value, $u, $v, $cumulative)
507
507
*
508
508
* @param float $value
509
509
*
510
- * @return float|string
510
+ * @return array| float|string
511
511
*/
512
512
public static function FISHER ($ value )
513
513
{
@@ -528,7 +528,7 @@ public static function FISHER($value)
528
528
*
529
529
* @param float $value
530
530
*
531
- * @return float|string
531
+ * @return array| float|string
532
532
*/
533
533
public static function FISHERINV ($ value )
534
534
{
@@ -549,7 +549,7 @@ public static function FISHERINV($value)
549
549
* @param mixed $yValues array of mixed Data Series Y
550
550
* @param mixed $xValues of mixed Data Series X
551
551
*
552
- * @return bool|float|string
552
+ * @return array| bool|float|string
553
553
*/
554
554
public static function FORECAST ($ xValue , $ yValues , $ xValues )
555
555
{
@@ -568,7 +568,7 @@ public static function FORECAST($xValue, $yValues, $xValues)
568
568
*
569
569
* @param float $value
570
570
*
571
- * @return float|string The result, or a string containing an error
571
+ * @return array| float|string The result, or a string containing an error
572
572
*/
573
573
public static function GAMMAFunction ($ value )
574
574
{
@@ -590,7 +590,7 @@ public static function GAMMAFunction($value)
590
590
* @param float $b Parameter to the distribution
591
591
* @param bool $cumulative
592
592
*
593
- * @return float|string
593
+ * @return array| float|string
594
594
*/
595
595
public static function GAMMADIST ($ value , $ a , $ b , $ cumulative )
596
596
{
@@ -611,7 +611,7 @@ public static function GAMMADIST($value, $a, $b, $cumulative)
611
611
* @param float $alpha Parameter to the distribution
612
612
* @param float $beta Parameter to the distribution
613
613
*
614
- * @return float|string
614
+ * @return array| float|string
615
615
*/
616
616
public static function GAMMAINV ($ probability , $ alpha , $ beta )
617
617
{
@@ -630,7 +630,7 @@ public static function GAMMAINV($probability, $alpha, $beta)
630
630
*
631
631
* @param float $value
632
632
*
633
- * @return float|string
633
+ * @return array| float|string
634
634
*/
635
635
public static function GAMMALN ($ value )
636
636
{
@@ -650,7 +650,7 @@ public static function GAMMALN($value)
650
650
*
651
651
* @param float $value
652
652
*
653
- * @return float|string The result, or a string containing an error
653
+ * @return array| float|string The result, or a string containing an error
654
654
*/
655
655
public static function GAUSS ($ value )
656
656
{
@@ -742,7 +742,7 @@ public static function HARMEAN(...$args)
742
742
* @param mixed $populationSuccesses Number of successes in the population
743
743
* @param mixed $populationNumber Population size
744
744
*
745
- * @return float|string
745
+ * @return array| float|string
746
746
*/
747
747
public static function HYPGEOMDIST ($ sampleSuccesses , $ sampleNumber , $ populationSuccesses , $ populationNumber )
748
748
{
@@ -879,7 +879,7 @@ public static function LOGEST($yValues, $xValues = null, $const = true, $stats =
879
879
* @param float $mean
880
880
* @param float $stdDev
881
881
*
882
- * @return float|string The result, or a string containing an error
882
+ * @return array| float|string The result, or a string containing an error
883
883
*
884
884
* @TODO Try implementing P J Acklam's refinement algorithm for greater
885
885
* accuracy if I can get my head round the mathematics
@@ -905,7 +905,7 @@ public static function LOGINV($probability, $mean, $stdDev)
905
905
* @param float $mean
906
906
* @param float $stdDev
907
907
*
908
- * @return float|string The result, or a string containing an error
908
+ * @return array| float|string The result, or a string containing an error
909
909
*/
910
910
public static function LOGNORMDIST ($ value , $ mean , $ stdDev )
911
911
{
@@ -928,7 +928,7 @@ public static function LOGNORMDIST($value, $mean, $stdDev)
928
928
* @param float $stdDev
929
929
* @param bool $cumulative
930
930
*
931
- * @return float|string The result, or a string containing an error
931
+ * @return array| float|string The result, or a string containing an error
932
932
*/
933
933
public static function LOGNORMDIST2 ($ value , $ mean , $ stdDev , $ cumulative = false )
934
934
{
@@ -1131,7 +1131,7 @@ public static function MODE(...$args)
1131
1131
* @param mixed $successes Threshold number of Successes
1132
1132
* @param mixed $probability Probability of success on each trial
1133
1133
*
1134
- * @return float|string The result, or a string containing an error
1134
+ * @return array| float|string The result, or a string containing an error
1135
1135
*/
1136
1136
public static function NEGBINOMDIST ($ failures , $ successes , $ probability )
1137
1137
{
@@ -1308,7 +1308,7 @@ public static function PERCENTRANK($valueSet, $value, $significance = 3)
1308
1308
* @param int $numObjs Number of different objects
1309
1309
* @param int $numInSet Number of objects in each permutation
1310
1310
*
1311
- * @return float|int|string Number of permutations, or a string containing an error
1311
+ * @return array| float|int|string Number of permutations, or a string containing an error
1312
1312
*/
1313
1313
public static function PERMUT ($ numObjs , $ numInSet )
1314
1314
{
@@ -1480,7 +1480,7 @@ public static function SMALL(...$args)
1480
1480
* @param float $mean Mean Value
1481
1481
* @param float $stdDev Standard Deviation
1482
1482
*
1483
- * @return float|string Standardized value, or a string containing an error
1483
+ * @return array| float|string Standardized value, or a string containing an error
1484
1484
*/
1485
1485
public static function STANDARDIZE ($ value , $ mean , $ stdDev )
1486
1486
{
0 commit comments