Generates a random number representing the number of successes in a sequence of n yes/no experiments, each of which succeeds with probability p.
<global>
number
| Name | Type | Description |
|---|---|---|
| n | integer | The number of trials. |
| p | number | The probability of a success. |