This commit is contained in:
Gregory Salaun 2024-09-29 18:49:27 +07:00
parent 366d207dcd
commit 288e97af36

View File

@ -10,6 +10,7 @@ func FreqMhztoHz(freq string) string {
frequency, err := strconv.ParseFloat(freq, 64) frequency, err := strconv.ParseFloat(freq, 64)
if err != nil { if err != nil {
log.Println("could not convert frequency string to int", err) log.Println("could not convert frequency string to int", err)
} }
frequency = frequency / 1000 frequency = frequency / 1000