printer.cpp extend precision
This commit is contained in:
1 parent
7d68d177d7
commit
77c67802a3
1 file changed
+2
-2
@@ -431,7 +431,7 @@ std::ostream& operator<<(std::ostream& strm, const PVStructure::Formatter& forma
|
||||
case scalar:
|
||||
strm<<format::indent();
|
||||
printTimeT(strm, format.xtop);
|
||||
strm<<*static_cast<const PVScalar*>(value.get())<<' ';
|
||||
strm<<std::setprecision(6)<<*static_cast<const PVScalar*>(value.get())<<' ';
|
||||
printAlarmT(strm, format.xtop);
|
||||
strm<<'\n';
|
||||
return strm;
|
||||
@@ -440,7 +440,7 @@ std::ostream& operator<<(std::ostream& strm, const PVStructure::Formatter& forma
|
||||
strm<<format::indent();
|
||||
printTimeT(strm, format.xtop);
|
||||
printAlarmT(strm, format.xtop);
|
||||
strm<<*static_cast<const PVScalarArray*>(value.get())<<'\n';
|
||||
strm<<std::setprecision(6)<<*static_cast<const PVScalarArray*>(value.get())<<'\n';
|
||||
return strm;
|
||||
|
||||
case structure:
|
||||
|
||||
Reference in new issue
Block a user