mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
numeric setting value display fix
This commit is contained in:
parent
c3b5576c02
commit
788bd6bf0f
8 changed files with 13 additions and 12 deletions
|
|
@ -197,6 +197,7 @@ void util::trim(std::string &s) {
|
|||
|
||||
std::string util::to_string(double x) {
|
||||
std::stringstream ss;
|
||||
ss << std::setprecision(6);
|
||||
ss << x;
|
||||
return ss.str();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue