human_format 1.2.1

Rust Port of human-format from node, formatting numbers for us, while the machines are still at bay.
Documentation
1
2
3
4
5
6
7
8
9
10
use human_format::*;

#[test]
fn very_large_magnitude_clamps_or_errors() {
    let f = Formatter::new();

    let formatted = f.format(1e300);

    assert!(!formatted.is_empty());
}