From 35b485a62c36b19c53cbf27613fd4f88ec8ebce0 Mon Sep 17 00:00:00 2001 From: mitxel-m Date: Mon, 15 Jan 2024 01:08:10 +0100 Subject: [PATCH] Fix typo --- src/qmapshack/units/IUnit.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qmapshack/units/IUnit.h b/src/qmapshack/units/IUnit.h index bfffa9011..ad0f1be0a 100644 --- a/src/qmapshack/units/IUnit.h +++ b/src/qmapshack/units/IUnit.h @@ -34,7 +34,7 @@ class IUnit : public QObject { public: static constexpr qreal footPerMeter = 3.28084; static constexpr qreal nauticalMilePerMeter = 1. / 1852; - static constexpr qreal meterPerSecToKnots = 3600 / 1852; + static constexpr qreal meterPerSecToKnots = 3600. / 1852; static constexpr qreal milePerMeter = 0.6213699E-3; static constexpr qreal meterPerSecToMilePerHour = 2.23693164;