Function invBinomialCDF

Returns the value of k for the given p-value, n and p. If p-value does not exactly map to a value of k, the value for which binomialCDF(k, n, p) is closest to pVal is used.

uint invBinomialCDF (
  double pVal,
  uint n,
  double p
);