BINOMDIST

function BINOMDIST(
  arg1: number = null,
  arg2: number = null,
  arg3: number = null,
  arg4: boolean = null,
): number

Description

Returns the individual term binomial distribution probability.

Parameters

arg1numberdefault: null

The number of successes in trials.

arg2numberdefault: null

The number of independent trials.

arg3numberdefault: null

The probability of success on each trial.

arg4booleandefault: null

Specifies if this is the cumulative distribution function (true) or the probability mass function (false).

Returns

number

Try It

var oWorksheet = Api.GetActiveSheet();
var oFunction = Api.GetWorksheetFunction();
oWorksheet.GetRange("A1").SetValue(oFunction.BINOMDIST(50, 67, 0.45, false));

Get Help

  • If you have any questions about ONLYOFFICE Docs, try the FAQ section first.
  • You can request a feature or report a bug by posting an issue on GitHub.
  • You can also ask our developers on ONLYOFFICE forum (registration required).