Hi, Jantonie.

I do not disagree with you, but the purpose of the example:

- Pbinom_rep.PNG (116.13 KiB) Viewed 1262 times

was just to report what is under the hood of the module and make visible how and why certain probabilities are shown if you enter a real and not discrete value.

The module works for a discrete variable and always considers the integer.

Not for that I consider it a bug.

Perhaps suggesting not accepting real values to avoid confusion with respect to what one expects to find, with respect to the figure.

Surely it is also possible to correctly calculate the value of the distribution function for any real number, perhaps by extending the binomial coefficient to real numbers. For this purpose, it may be convenient to start with the observation that the binomial coefficient is also the ratio between the number of injective functions from a set of cardinality x into one of cardinality n (i.e. the number of simple dispositions of n objects of class x) and the number of permutations of x objects (for those who have time and desire ...).

Cheers,

Maurizio