Round sig figs
round_sig_figsRound a number to a specified number of significant figures for chemistry and physics calculations. Keeps answers consistent by performing the rounding in tested local code.
Instructions
Round a number to a given number of significant figures.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | The number to round. | |
| sigFigs | Yes | How many significant figures to keep. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |