GoLang stats_stat_percentile

request it (236)
GoLang replacement for PHP's stats_stat_percentile [edit | history]



Do you know a GoLang replacement for PHP's stats_stat_percentile? Write it!

PHP stats_stat_percentile

PHP original manual for stats_stat_percentile [ show | php.net ]

stats_stat_percentile

(PECL stats >= 1.0.0)

stats_stat_percentileReturns 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.