Hey everyone! Does anyone know of a way to parse inputs as an integer? I’ve tried various methods from the Math JS library, as well as the built-in Number.isInteger() method, but still no luck.
(Note: I have the input type set to number, but that doesn’t prevent me from entering a string or char value)
I can’t figure out a way to ensure that users say/enter a valid number. Thanks!