basic_math
Perform basic arithmetic operations (add, subtract, multiply, divide) with high-precision decimal math. Round results to any precision from 0 to 15 decimal places for accurate outcomes.
Instructions
Perform basic mathematical operations (add, subtract, multiply, divide).
Uses high-precision decimal arithmetic and rounds the result to precision
decimal places (0-15). Supports two or more operands applied left to right.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| operands | Yes | At least two numbers. | |
| operation | Yes | ||
| precision | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||