5 unstable releases
new 0.3.3 | May 16, 2024 |
---|---|
0.3.2 | May 16, 2024 |
0.2.0 | May 12, 2024 |
0.1.0 | May 12, 2024 |
#871 in Encoding
499 downloads per month
18KB
341 lines
numf
numf
is a number formatter. It formats the numbers provided to it.
Current formats are:
- Hexadecimal
- Binary
- Octal
- Decimal
- Base32
- Base64
numf
also has the option of prepending a prefix for each format, such as
0x
for hexadecimal. Numbers may also be provided from the stdin. See --help
flag for more information.
Example
$ numf -xp 1337 505 0xaabb
0x539
0x1F9
0xAABB
Installing
Cargo
numf
is on crates.io.
cargo install numf
Dependencies
~5.5MB
~93K SLoC