From 25510f8e19d3a8f7592e201acf8f5dfc34f8f7a7 Mon Sep 17 00:00:00 2001 From: Andrea Santaniello Date: Thu, 5 Dec 2024 14:16:56 +0100 Subject: [PATCH] Update RadioController.cs to support 4 deciamal in frequency change --- kv4p-sharp/RadioController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kv4p-sharp/RadioController.cs b/kv4p-sharp/RadioController.cs index 9d1a5c2..fac327d 100644 --- a/kv4p-sharp/RadioController.cs +++ b/kv4p-sharp/RadioController.cs @@ -349,7 +349,7 @@ public class RadioController : IDisposable freq = Math.Min(freq, 148.0f); freq = Math.Max(freq, 144.0f); - string formattedFreq = freq.ToString("000.000", System.Globalization.CultureInfo.InvariantCulture); + string formattedFreq = freq.ToString("000.0000", System.Globalization.CultureInfo.InvariantCulture); return formattedFreq; }