diff options
-rw-r--r-- | web/static/dartboat.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/web/static/dartboat.js b/web/static/dartboat.js index da59e59..653e0ce 100644 --- a/web/static/dartboat.js +++ b/web/static/dartboat.js @@ -163,7 +163,8 @@ function setStdev(val, update_opts = true) { } function updateStdev(val) { - document.getElementById('stdev').value = val; + document.getElementById('stdev').value = parseFloat( + val.toFixed(2).slice(0, 4)); } function readOpts() { |