Registry / utility / radix-fmt

radix-fmt

JSON →
library1.0.0rscratesunverified

Format a number in an arbitrary radix (base).

# Cargo.toml [dependencies] radix_fmt = "1.0.0"
INSTALL
IMPORT
SIG · RADIX-FMT
R
radix-fmt
utilityrustv1.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

radix
use radix_fmt::radix;

Format a number in hexadecimal (base 16).

use radix_fmt::radix; let num = 255; println!("{}", radix(num, 16)); // prints "ff"
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
radix-fmt — cargo add radix-fmt · libregistry