percentile-rank

1.0.6 • Public • Published

percentile-rank

Returns the percentile of a value. Returns the same values as the Excel PERCENTRANK and PERCENTRANK.INC functions.

Usage

npm install percentile-rank
const percentRank = require('percentile-rank');
percentRank([1, 5, 20, 50, 55, 60, 70, 80, 90, 100], 44);

Credits

Initially based on the answer provided by xlecoustillier On Stack Overflow: https://stackoverflow.com/questions/17919263/what-is-the-excel-percentrank-algorithm-in-c

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.6
    556
    • latest

Version History

Package Sidebar

Install

npm i percentile-rank

Weekly Downloads

570

Version

1.0.6

License

MIT

Unpacked Size

3.1 kB

Total Files

4

Last publish

Collaborators

  • malcolmvr