I have here a counterproposal. Please check 

```js
 var lowLimitValue = evt.target.value.trim();
      if (lowLimitValue.indexOf('.') !== lowLimitValue.length - 1 &&
          lowLimitValue.indexOf('0') !== lowLimitValue.length - 1) {
        console.log('Value: ', lowLimitValue);
        var number = new Number(lowLimitValue);
        console.log('normalized: ', number);

        dataLimitInput.value = number;
```