significant_figures
Round any number to a specified number of significant figures. Adjust precision with an optional parameter for custom significant digit count.
Instructions
Round a number to a specified number of significant figures.
Parameters:
value — Number to round.
sig_figs — Number of significant figures (default: 3).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | ||
| sig_figs | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |