combin() Function

Function

combin( n, m )

Calculates the number of unique ways to choose m elements from a pool of n elements.

Parameters

Keyword Type Description

n

Integer

The number of elements that can be chosen from.

m

Integer

The number of elements that will be chosen from the pool of n elements.

Returns

Decimal

Examples

combin(4,2) returns 6

Open in Github Built: Tue, May 24, 2022 (04:58:53 PM)

On This Page

FEEDBACK