11 releases

0.2.1 Jan 17, 2022
0.2.0 Jan 17, 2022
0.1.14 Jan 17, 2022
0.1.11 Dec 30, 2020

#1554 in Command line utilities

Download history 2/week @ 2022-11-28 5/week @ 2022-12-05 20/week @ 2022-12-12 7/week @ 2022-12-19 4/week @ 2022-12-26 8/week @ 2023-01-02 18/week @ 2023-01-09 5/week @ 2023-01-16 10/week @ 2023-01-23 14/week @ 2023-01-30 26/week @ 2023-02-06 57/week @ 2023-02-13 42/week @ 2023-02-20 3/week @ 2023-02-27 6/week @ 2023-03-06 3/week @ 2023-03-13

56 downloads per month
Used in hcal

MIT license

215KB
10K SLoC

cbb

A base converter

Examples

cbb 20 -t 8 -> 24

cbb -b 3 -> 0+--

Usage

$ cbb -h
A converter for numbers

USAGE:
    cbb [FLAGS] [OPTIONS] <number>

ARGS:
    <number>    Sets the number

FLAGS:
    -b, --balanced-ternary    Converts decimal to balanced ternary
    -h, --help                Prints help information
    -V, --version             Prints version information

OPTIONS:
    -t, --to <base>    Sets the target base.

Dependencies

~2MB
~39K SLoC