mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Helpers
- Forced the format(double) helper function to not use scientific notation, which was causing problems.
This commit is contained in:
parent
e31e80961a
commit
038687b801
1 changed files with 1 additions and 1 deletions
|
@ -859,7 +859,7 @@ const std::string format (double value, int width, int precision)
|
|||
const std::string format (double value)
|
||||
{
|
||||
std::stringstream s;
|
||||
s << value;
|
||||
s << std::fixed << value;
|
||||
return s.str ();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue