Skip to content

A CLI tool for converting from and to number systems

License

Notifications You must be signed in to change notification settings

Diego-Ivan/radix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Radix

Radix is a simple CLI base conversion program that supports converting from base 2 to base 36.

Example Usage

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.

Running and Installing

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]

About

A CLI tool for converting from and to number systems

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages