Index: tools/sancov/sancov.cc =================================================================== --- tools/sancov/sancov.cc +++ tools/sancov/sancov.cc @@ -885,7 +885,7 @@ OS << "" << stripPathPrefix(FileName) << "" - << "" << CovPct << "%" + << "" << format("%03lu", CovPct) << "%" << "" << FC.first << " (" << FC.second << ")" << "\n"; } @@ -923,7 +923,7 @@ std::string FunctionName = P.first.FunctionName; OS << "
"; - OS << "" << P.second << "% "; + OS << "" << format("%03lu", P.second) << "% "; OS << ""; OS << escapeHtml(FunctionName) << "";