pub fn format_pretty_bin<N: Num + Display + Binary + PartialOrd + 'static>(
num: N,
) -> String
Expand description
Outputs a human readable string like:
let pretty = parse_int::format_pretty_bin(1024);
assert_eq!("0b100_0000_0000", pretty);
Floats do not implement LowerHex