mirror of
https://github.com/retailcrm/PHPExcel.git
synced 2024-11-25 23:06:03 +03:00
Fix to MEDIAN() function
This commit is contained in:
parent
ba04463cc9
commit
6a8fca703c
@ -2337,7 +2337,7 @@ class PHPExcel_Calculation_Statistical
|
||||
if ($mValueCount == floor($mValueCount)) {
|
||||
$returnValue = ($mArgs[$mValueCount--] + $mArgs[$mValueCount]) / 2;
|
||||
} else {
|
||||
$mValueCount == floor($mValueCount);
|
||||
$mValueCount = floor($mValueCount);
|
||||
$returnValue = $mArgs[$mValueCount];
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user