Divide
This formula allows you to perform an arithmetic division among numbers.
Returns
integer | decimal
JSON Format
{
"type": "divide",
"components": ...,
"rounding_method": ...
}
RPG Script
This component can be written in RPG Script as:
divide(...)
Note: If your JSON uses
rounding_method, make sure your RPG Script form preserves it (e.g. a dedicated helper/function or syntax your DSL supports), so it doesn't silently become plain/.
Fields
| Field | Type | Required | Description |
|---|---|---|---|
rounding_method | RoundingMethod | ✓ | The rounding method to be used for the operation. |