Skip to content

m-mueller678/si_format

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This crate formats numbers using metric prefixes:

assert_eq!(123456.si_format().to_string(),"123k");

This provides more limited functionality than si-scale, but works without std, alloc, and (optionally) floating point arithmetic. This is primarily intended to make numbers in logs and debug printing more readable at a minimum runtime cost.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published