Remove ridiculous println

This commit is contained in:
Austen Adler 2021-05-13 22:28:07 -04:00
parent 8079ac91f4
commit d4f9fc904d

View File

@ -416,7 +416,6 @@ fn fmt_engineering(f: f64, precision: usize) -> String {
.replacen(".", "", 1)
// Add 00E before E here so the length is enough for slicing below
.replacen("E", "00E", 1);
println!("{}", all);
// Extract mantissa and the string representation of the exponent. Unwrap should be safe as formatter will insert E
// 1000E3 => (1000, E3)
let (num_str, exp_str) = all.split_at(all.find('E').unwrap());