number_converter
Convert numbers between bases 2-36, format as scientific notation or fractions. Adjust precision for decimal places.
Instructions
Brief description: Number format conversion tool, supporting base conversion, scientific notation, etc.
Examples:
number_converter(number='255', from_base=10, to_base=16)
number_converter(number='1010', from_base=2, to_base=10)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| number | Yes | The number to convert (provided as a string) | |
| from_base | No | Source base. Range 2-36 | |
| to_base | No | Target base. Range 2-36 | |
| operation | No | Type of conversion operation. Supports: 'convert'(base conversion), 'format'(formatting), 'scientific'(scientific notation), 'fraction'(fraction form) | convert |
| precision | No | Precision. Number of decimal places for scientific/engineering notation |