Function Name | RushScript Symbol | Description | Output Type | Parameters |
---|---|---|---|---|
+ | Add two numeric values. | Wider of the two input types | Two numeric typed fields | |
Arithmetic.div | / | Divide the first value by the second value. | Wider of the two input types | Two numeric typed fields |
Arithmetic.mult | * | Multiply two numeric values. | Wider of the two input types | Two numeric typed fields |
Arithmetic.neg | - | Negate a numeric value. | Same as the input type | One numeric typed field |
Arithmetic.remainder | % | Remainder from dividing the values. | Wider of the two input types | Two numeric typed fields |
Arithmetic.sub | - | Subtract the second value from the first value. | Wider of the two input types | Two numeric typed fields |
Function Name | Description | Output Type | Parameters |
Arithmetic.scaledDiv | Divide the first value by the second value, using BigDecimal division, to the specified scale. | Numeric | • Numeric type dividend • Numeric type divisor • Integer scale |
Parameter | Type | Description |
augend | Numeric or narrower | A numeric value to add. |
addend | Numeric or narrower | A numeric value to add. |