在线文档教程
PHP
数学 | Mathematics

stats_stat_percentile

stats_stat_percentile

(PECL stats >= 1.0.0)

stats_stat_percentile — Returns the percentile value

Description

float stats_stat_percentile ( array $arr , float $perc )

Returns the perc-th percentile value of the array arr.

Parameters

arr

The input array

perc

The percentile

Return Values

Returns the percentile values of the input array.

← stats_stat_paired_t

stats_stat_powersum →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/function.stats-stat-percentile.php