We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I found
isFloat('-')//true isFloat('+')//true
but
toFloat('-')//NaN toFloat('+')//NaN
maybe it's a bug?
The text was updated successfully, but these errors were encountered:
@linkinmedo thanks a lot. maybe better to promote this line
if (str === '' || str === '.' || str === '-' || str === '+') { return false; }
then we can tell user the test result quickly without building a new RegExp. thanks again.
RegExp
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
I found
but
maybe it's a bug?
The text was updated successfully, but these errors were encountered: