Also change to Math.round

This commit is contained in:
Mark de Bruijn
2024-02-11 11:56:22 +01:00
parent 3b6cf6707d
commit 30b59127b9
+1 -1
View File
@@ -119,7 +119,7 @@ $(document).ready(function () {
}
var newFreq = currentFreq + (delta > 0 ? -adjustment : adjustment);
socket.send("T" + (newFreq.toFixed(2) * 1000));
socket.send("T" + (Math.round(newFreq * 1000)));
return false;
});