mirror of
https://github.com/hubaldv/bioz-host-rs.git
synced 2025-12-05 21:01:18 +00:00
Include decimal in frequency table.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user