Significant Figures Converter
round_sig_figsRound a decimal string to a chosen number of significant figures using exact decimal half-up rounding; return plain and scientific notation.
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": {
"value": "0.004560",
"significantFigures": 2
},
"name": "round_sig_figs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | Signed decimal string, optionally with exponent notation; no commas. | |
| significantFigures | Yes | Number of significant figures to keep. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||