number_base
Convert integers between any base from 2 to 36 and Roman numerals. Parse Roman numeral input or output Roman numerals.
Instructions
Convert integers between any base 2..36 plus Roman numerals. Big-int safe when GMP is available. Use from_base="roman" to parse a Roman numeral input, or include "roman" in to_bases to convert to Roman.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | ||
| to_bases | No | Bases to convert to. Each is an integer 2..36 or "roman". | |
| from_base | No | Integer 2..36 or "roman". |