summaryrefslogtreecommitdiff
path: root/src/utils/helpers.js
diff options
context:
space:
mode:
authorGravatar Alexander Janke <33967771+alexanderjanke@users.noreply.github.com> 2020-06-11 13:32:18 +0200
committerGravatar Corentin THOMASSET <corentin.thomasset74@gmail.com> 2020-06-11 16:19:26 +0200
commit24fd5e7aaf67c68f84c6d73f80cf0c6b3024e60a (patch)
tree19b091787e5a6037f5caa15fb2a448c59b54ba31 /src/utils/helpers.js
parent94cb74d43423e1eb07ca33223b11b1b3e3da5d21 (diff)
downloadit-tools-24fd5e7aaf67c68f84c6d73f80cf0c6b3024e60a.tar.gz
it-tools-24fd5e7aaf67c68f84c6d73f80cf0c6b3024e60a.tar.zst
it-tools-24fd5e7aaf67c68f84c6d73f80cf0c6b3024e60a.zip
Use vue-typecast
https://vuejs.org/v2/guide/forms.html#number
Diffstat (limited to '')
-rw-r--r--src/utils/helpers.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/helpers.js b/src/utils/helpers.js
index 87cf286..e847c42 100644
--- a/src/utils/helpers.js
+++ b/src/utils/helpers.js
@@ -25,7 +25,7 @@ const formatBytes = (bytes, decimals = 2) => {
}
const isInt = (value) => {
- return Number.isInteger(parseFloat(value));
+ return Number.isInteger(value);
}
export {