IsNumberString returns false for none integers
AmirSasson opened this issue · comments
such as "-0.8" a valid numeric string, i get an error.
seems like the regex used to validate that missing a dot
This is the regex:
https://github.com/chriso/validator.js/blob/master/src/lib/isNumeric.js
If you think it's buggy, create an issue or PR on validator.js
repository.
submitted a PR to validator JS