Comparing negative numbers in javascript
How does if (parseFloat(num1) < parseFloat(num2))
work? Maybe your numbers are turning into strings somewhere.
How does if (parseFloat(num1) < parseFloat(num2))
work? Maybe your numbers are turning into strings somewhere.