aboutsummaryrefslogtreecommitdiff
path: root/web/app/view
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/view')
-rw-r--r--web/app/view/StateController.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/app/view/StateController.js b/web/app/view/StateController.js
index 819c203c4..4b8236aa7 100644
--- a/web/app/view/StateController.js
+++ b/web/app/view/StateController.js
@@ -76,7 +76,7 @@ Ext.define('Traccar.view.StateController', {
formatValue: function (value) {
if (typeof (id) === 'number') {
- return value.toFixed(2);
+ return Number(value.toFixed(2));
} else {
return value;
}