diff --git a/src/btop_tools.cpp b/src/btop_tools.cpp index e642ac61..f6be1741 100644 --- a/src/btop_tools.cpp +++ b/src/btop_tools.cpp @@ -443,7 +443,7 @@ namespace Tools { out = to_string((int)round(stod(out))); } if (out.size() > 3) { - out = to_string((int)(out[0] - '0') + 1); + out = to_string((int)(out[0] - '0')) + ".0"; start++; } out.push_back(units[start][0]);