percentile method

int percentile(
  1. double percentile
)

Computes the specified percentile of the integers in the iterable.

The percentile should be a value between 0 and 100.

Implementation

int percentile(double percentile) =>
    NumbersHelper.percentile(toList(), percentile).toInt();