1
0
Fork 0
mirror of https://github.com/Acamaeda/The-Modding-Tree.git synced 2025-04-25 18:51:05 +00:00

Switched to parseFloat

This commit is contained in:
Harley White 2021-05-18 14:35:31 -04:00
parent 756bc3dec7
commit c661bfc011
2 changed files with 3 additions and 1 deletions

View file

@ -337,7 +337,7 @@ function toValue(value, oldValue) {
if (oldValue instanceof Decimal)
return new Decimal (value)
if (!isNaN(oldValue))
return parseInt(value, 10)
return parseFloat(value)
return value
}