Fixed precision

This commit is contained in:
VladiMihaylenko 2017-09-26 17:42:08 +03:00 committed by Roman Kuznetsov
parent 232f82675a
commit 3fe0d07d85

View file

@ -289,7 +289,7 @@ std::string GetRatingFormatted(float const rawRating)
return kEmptyRatingSymbol;
std::ostringstream oss;
oss << std::setprecision(1) << rawRating;
oss << std::setprecision(2) << rawRating;
return oss.str();
}
} // namespace rating