diff --git a/js/localstorage.js b/js/localstorage.js index 3a1bf03..4f2a9da 100644 --- a/js/localstorage.js +++ b/js/localstorage.js @@ -33,7 +33,7 @@ ls.factory("$store", ["$parse", function($parse){ if (val === 'false'){ val = false; } - if (parseFloat(val) === val && !angular.isObject(val)) { + if (parseFloat(val) == val && !angular.isObject(val)) { val = parseFloat(val); } } catch(e){