Registry / utility / number-prefix

number-prefix

JSON →
library0.4.0rscratesunverified

Library for numeric prefixes (kilo, giga, kibi).

# Cargo.toml [dependencies] number_prefix = "0.4.0"
INSTALL
IMPORT
SIG · NUMBER-PREFIX
N
number-prefix
utilityrustv0.4.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.

NumberPrefix
use number_prefix::NumberPrefix;

Display a number with a decimal prefix.

use number_prefix::NumberPrefix; fn main() { let result = NumberPrefix::decimal(1_500_000); println!("{:?}", result); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.4.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
number-prefix — cargo add number-prefix · libregistry