combinations
Calculate the number of ways to choose r items from n items without regard to order, returning exact result as a decimal string.
Instructions
Calculates n choose r exactly when order does not matter; returns a decimal string
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | Yes | Total number of items, n | |
| selected | Yes | Number of selected items, r |