From f9ce51c0392ce1921a591217f2533f8d4b117150 Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Mon, 25 Jul 2022 11:09:05 -0400 Subject: [PATCH] In astro.cpp, round off display of width1 and width2 to nearest integer Hz. --- widgets/astro.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/widgets/astro.cpp b/widgets/astro.cpp index 470311c25..49e0d905e 100644 --- a/widgets/astro.cpp +++ b/widgets/astro.cpp @@ -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"