Skip to content

Commit

Permalink
format-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
anandamideShakyan committed Dec 27, 2024
1 parent 90dc0b0 commit b3cd4b4
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ DataSize::DataSize(const std::string& string) {
}

std::string DataSize::toString() const {
return fmt::format("{:f}{}", round(value_ * 100.0) / 100.0, dataUnitToString(dataUnit_));
return fmt::format(
"{:f}{}", round(value_ * 100.0) / 100.0, dataUnitToString(dataUnit_));
}
double DataSize::toBytesPerDataUnit(DataUnit dataUnit) {
switch (dataUnit) {
Expand Down

0 comments on commit b3cd4b4

Please sign in to comment.