convert_base
Convert an integer from base 2-36 to another base and return it as a string. Use for binary, decimal, hexadecimal, and custom radix conversions.
Instructions
Convert an integer number from one base to another.
number is given as a string in from_base (2-36); the result is a
string in to_base (2-36). Example: ("ff", 16, 2) -> "11111111".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| number | Yes | ||
| to_base | Yes | ||
| from_base | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |