Long Division Calculator
long_divideDivide decimal strings exactly with long division steps, an integer quotient and remainder. See terminating, repeating or truncated decimals.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"digits": 20,
"divisor": "2",
"dividend": "7"
},
"name": "long_divide"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| digits | No | Maximum fractional digits before truncation; default 20. | |
| divisor | Yes | Nonzero signed plain decimal, no exponent; maximum 60 characters. | |
| dividend | Yes | Signed plain decimal, no exponent; maximum 60 characters. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||