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: Wed, Aug 16, 2023 (04:37:39 PM)

On This Page

FEEDBACK