Skip to content

clly/percentile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Percentile

Go Report Card Build Status Godoc License

Percentile is a unix tool to calculate percentile while on the command line. It accepts a set of float's separated by new lines piped into the tool. It then calculates a set of percentiles that are given as command line arguments. If no arguments are given it will calculate the median and 95th percentile.

  --> seq 1 10000| ./percentile 10 15 20.5 50 99 99.999
Pctl 10.000: 1000.00
Pctl 15.000: 1500.00
Pctl 20.500: 2050.00
Pctl 50.000: 5000.00
Pctl 99.000: 9900.00
Pctl 99.999: 10000.00

About

Calculate percentiles for numeric input

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages