numf

Crates.ionumf
lib.rsnumf
version0.3.3
sourcesrc
created_at2024-05-12 16:58:28.003021
updated_at2024-05-16 16:25:29.907919
descriptionConvert numbes between formats
homepagehttps://git.cscherr.de/PlexSheep/numf
repositoryhttps://git.cscherr.de/PlexSheep/numf
max_upload_size
id1237663
size46,405
Christoph J. Scherr (PlexSheep)

documentation

README

numf

Project badge Crates.io License Gitea Release Gitea language count cargo checks and tests

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
Commit count: 0

cargo fmt