percentile method

num percentile(
  1. double percentile
)

Computes the specified percentile of the numbers in the iterable.

The percentile should be a value between 0 and 100.

Implementation

num percentile(double percentile) =>
    NumbersHelper.percentile(toList(), percentile);