Commit 58bfc681 authored by Franck Dary's avatar Franck Dary
Browse files

Improved print

parent eb211b77
......@@ -259,7 +259,7 @@ int MacaonTrain::main()
for (auto & score : devScores)
{
if (computeDevScore)
toAdd = fmt::format("{}({}{}),", score.second, util::shrink(fmt::format("{}", std::abs(score.first)),7), score.first >= 0 ? "%" : "");
toAdd = fmt::format("{}({}{}),", score.second, util::shrink(fmt::format("{:.2f}", std::abs(score.first)),7), score.first >= 0 ? "%" : "");
else
toAdd = fmt::format("{}({}),", score.second, util::shrink(fmt::format("{}", 100.0*score.first),7));
devScoreMean += score.first;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment