Helpers
- Forced the format(double) helper function to not use scientific notation, which was causing problems.
This commit is contained in:
@@ -859,7 +859,7 @@ const std::string format (double value, int width, int precision)
|
|||||||
const std::string format (double value)
|
const std::string format (double value)
|
||||||
{
|
{
|
||||||
std::stringstream s;
|
std::stringstream s;
|
||||||
s << value;
|
s << std::fixed << value;
|
||||||
return s.str ();
|
return s.str ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user