In astro.cpp, round off display of width1 and width2 to nearest integer Hz.

This commit is contained in:
Joe Taylor 2022-07-25 11:09:05 -04:00
parent cc541973fc
commit f9ce51c039

View File

@ -136,14 +136,14 @@ auto Astro::astroUpdate(QDateTime const& t, QString const& mygrid, QString const
<< "Az: " << azmoon << "\n"
"El: " << elmoon << "\n"
"SelfDop:" << m_dop00 << "\n"
"Width: " << int(width1) << "\n"
"Width: " << int(width1+0.5) << "\n"
<< qSetRealNumberPrecision (2)
<< "Delay: " << techo << "\n"
<< qSetRealNumberPrecision (1)
<< "DxAz: " << azmoondx << "\n"
"DxEl: " << elmoondx << "\n"
"DxDop: " << m_dop << "\n"
"DxWid: " << int(width2) << "\n"
"DxWid: " << int(width2+0.5) << "\n"
"Dec: " << decmoon << "\n"
"SunAz: " << azsun << "\n"
"SunEl: " << elsun << "\n"