Radix is a simple CLI base conversion program that supports converting from base 2 to base 36.
radix --from decimal --to hex 17 --simple
# Output: 11
Options:
--from
: The source base. Either an integer in range [2, 36] or a valid name.--to
: The target base. Either an integer in range [2, 36] or a valid name.--decimal-separator/-d
: The decimal separator in the input, either comma or point.--simple/-s
: Only shows the result instead of printing it in LaTex format.
Radix is built on the Rust Programming Language
For running, install cargo
and run:
cargo run -- [OPTIONS]
For installing, run:
cargo install
After installing, you can call radix directly:
radix [OPTIONS]