File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 1
1
#include " Writer.h"
2
2
#include " System.h"
3
3
4
+ #include < iomanip>
5
+
4
6
namespace RTE {
5
7
6
8
// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
@@ -41,7 +43,9 @@ namespace RTE {
41
43
System::MakeDirectory (System::GetWorkingDirectory () + m_FolderPath);
42
44
}
43
45
44
- return Create (std::make_unique<std::ofstream>(fileName, append ? (std::ios::out | std::ios::app | std::ios::ate) : (std::ios::out | std::ios::trunc)));
46
+ auto ofStream = std::make_unique<std::ofstream>(fileName, append ? (std::ios::out | std::ios::app | std::ios::ate) : (std::ios::out | std::ios::trunc));
47
+ *ofStream << std::fixed << std::setprecision (6 );
48
+ return Create (std::move (ofStream));
45
49
}
46
50
47
51
// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
You can’t perform that action at this time.
0 commit comments