TypstDocumentation

calc.binom

Calculate a binomial coefficient.

Example

#calc.binom(10, 5)
Preview

Parameters
Question mark

calc.binom() -> integer

n
integer
RequiredPositional
Question mark

The upper coefficient. Must be non-negative.

k
integer
RequiredPositional
Question mark

The lower coefficient. Must be non-negative.