stats_stat_percentile
(PECL stats >= 1.0.0)
stats_stat_percentile — Returns the percentile value
说明
stats_stat_percentile (
array
$arr
,
float $perc
) :
float
Returns the perc
-th percentile value of the array arr
.
参数
-
arr
-
The input array
-
perc
-
The percentile
返回值
Returns the percentile values of the input array.