A random number generated from the Binomial distribution.
Before this method is called it is necesary to set the total number of trials and the probability of each of the trials being a successes using SetNumberOfTrials and SetProbabilityOfASuccess, respectively.
For a random number within the range [0,1]
(i.e. a probability),
we return the INTEGER value for which the cumulative Binomial distribution function
is greater than or equal to the randomly generated number.
BinomialProbabilityDistribution Class | ProbabilityDistributions Namespace