aboutsummaryrefslogtreecommitdiffstats
path: root/stella.js
diff options
context:
space:
mode:
Diffstat (limited to 'stella.js')
-rw-r--r--stella.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/stella.js b/stella.js
index fc43747..0d635ca 100644
--- a/stella.js
+++ b/stella.js
@@ -385,7 +385,7 @@ Thanks:
if (m = /^(([-+]?)\d+):(\d+)$/(code))
return parseInt(m[1], 10) * 60 + (m[2] == '-' ? -1 : 1) * parseInt(m[3], 10);
if (m = /^([-+]?\d+\.\d+)$/(code))
- return Math.round(parseFloat(m[1], 10) * 60);
+ return Math.round(parseFloat(m[1]) * 60);
return parseInt(code, 10);
},