aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.js b/main.js
index 4932ffd..57bf0e8 100644
--- a/main.js
+++ b/main.js
@@ -39,7 +39,7 @@ function time_format(t)
ret += s;
/* Milliseconds */
- if (t % 1 == 0)
+ if (t % 1 != 0)
ret += "." + t.toFixed(3).split(".")[1];
else
ret += ".000";