Radix Convert
radix_convertConvert digits between bases 2-36, handling fractions and flagging non-terminating results in the target base.
Instructions
Convert a value between ANY bases 2..36, fractions included; bases that
cannot represent the fraction (e.g. 0.1 in base 2) are flagged
non-terminating. radix_convert('zz', 36, 7) is one call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | Digit string to convert (fractions with '.' accepted), in `from_base` | |
| to_base | No | Base to convert `value` into; valid range 2..36, default 10 | |
| from_base | No | Base `value` is written in; valid range 2..36, default 10 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||