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: Fri, Jan 27, 2023 (07:42:25 PM)

On This Page

FEEDBACK