settle_single
Compute the return and profit in integer cents for a single bet, given stake, decimal odds, and result (win/lose/push/void), with floor rounding.
Instructions
Return and profit in integer cents for a single bet (floor rounding).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | ||
| stakeCents | Yes | ||
| decimalOdds | Yes | Decimal odds, e.g. 2.5 |