Divide
This formula allows you to perform an arithmetic division among numbers.
JSON Format
{
"type": "divide",
"components": ...,
"rounding_method": ...
}
Fields
| Field | Type | Required | Description |
|---|---|---|---|
components | StatFormulaComponent | ✓ | The formula for the list of numbers that should be divided. This list should have at least 2 numbers. The first number will be divided by the second number. If the list has more numbers in it, the result of that first division will be divided by the third number in the list, and so on. e.g: [20, 2, 5] will evaluate to 2, since 20 / 2 = 10 and 10 / 5 = 2. |
rounding_method | RoundingMethod | ✓ | The rounding method to be used for the operation. |