metrics_stdout: remove obsolete if

master
Andre Puschmann 4 years ago
parent 90e23d9de6
commit cd061d46e6

@ -237,11 +237,7 @@ std::string metrics_stdout::float_to_eng_string(float f, int digits)
} }
const double scaled = f * pow(1000.0, -degree); const double scaled = f * pow(1000.0, -degree);
if (degree != 0) {
return float_to_string(scaled, digits) + factor; return float_to_string(scaled, digits) + factor;
} else {
return float_to_string(scaled, digits) + factor;
}
} }
} // namespace srsue } // namespace srsue

Loading…
Cancel
Save