Skip to content

Latest commit

 

History

History
7 lines (6 loc) · 392 Bytes

readme.md

File metadata and controls

7 lines (6 loc) · 392 Bytes

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.