Registry / utility / num-format

num-format

JSON →
library0.4.4rscratesunverified

A Rust crate for producing string-representations of numbers, formatted according to international standards.

# Cargo.toml [dependencies] num-format = "0.4.4"
INSTALL
IMPORT
SIG · NUM-FORMAT
N
num-format
utilityrustv0.4.4
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.

ToFormattedString
use num_format::{Locale, ToFormattedString};

Format a number with locale-aware grouping.

use num_format::{Locale, ToFormattedString}; let number = 1234567; let formatted = number.to_formatted_string(&Locale::en); println!("Formatted: {}", formatted);
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.4.4latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
num-format — cargo add num-format · libregistry