Use vue-typecast

https://vuejs.org/v2/guide/forms.html#number
This commit is contained in:
Alexander Janke 2020-06-11 13:32:18 +02:00 committed by Corentin Thomasset
parent 89713c4986
commit f6da2a44e5
3 changed files with 4 additions and 4 deletions

View file

@ -25,7 +25,7 @@ const formatBytes = (bytes, decimals = 2) => {
}
const isInt = (value) => {
return Number.isInteger(parseFloat(value));
return Number.isInteger(value);
}
export {