From ef3fc12cb8398826194f2ef1d53efa3315dadac5 Mon Sep 17 00:00:00 2001 From: Hubald Verzijl Date: Thu, 6 Nov 2025 14:08:16 +0100 Subject: [PATCH] Include decimal in frequency table. --- src/app.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app.rs b/src/app.rs index 1b0e356..fad94b7 100644 --- a/src/app.rs +++ b/src/app.rs @@ -278,7 +278,7 @@ impl TabViewer { if freq % 1_000 == 0 { format!("{}k", (freq / 1_000) as u64) } else { - format!("{:.1}k", freq / 1_000) + format!("{:.1}k", freq as f32 / 1_000.0) } } else { // Hz