Performs basic arithmetic (add, subtract, multiply, divide) and rounds results to the nearest multiple of 10. Use for calculations that need clean multiples of 10.
Perform basic arithmetic operations and round the result to the nearest multiple of 10.
The operation and numbers are provided as: $ARGUMENTS
Expected format: [operation] [number1] [number2]
| Operation | Aliases | Example |
|---|---|---|
| Addition | add, + | add 15 27 |
| Subtraction | subtract, sub, - | subtract 100 55 |
| Multiplication | multiply, mul, * | multiply 6 7 |
| Division | , , |
dividediv/divide 100 3 |
Results are rounded to the nearest multiple of 10 using standard rounding:
Formula: round(result / 10) * 10
Show both the raw calculation and the rounded result:
Operation: [operation] [num1] [num2]
Raw result: [exact result]
Rounded to nearest 10: [multiple of 10]
| Input | Raw Result | Rounded Result |
|---|---|---|
add 23 19 | 42 | 40 |
subtract 100 55 | 45 | 50 |
multiply 7 8 | 56 | 60 |
divide 100 3 | 33.33... | 30 |
add 5 0 | 5 | 10 |
multiply 10 10 | 100 | 100 |