num_round
Exact Decimal rounding: places 0-30 or significant digits, modes half_even (banker's, default) | half_up | half_down | ceil | floor | trunc | up. Same string in, same string out. Free.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"value": "<value>"
},
"name": "num_round"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | half_even | |
| value | Yes | number or numeric string | |
| places | No | ||
| significant | No |