Skip to content
New issue

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

numeric validation rule to accepts floats #694

Merged
merged 1 commit into from
Jul 27, 2022
Merged

numeric validation rule to accepts floats #694

merged 1 commit into from
Jul 27, 2022

Conversation

BSN4
Copy link
Contributor

@BSN4 BSN4 commented Jul 23, 2022

Hi

this confuesed me a bit , I saw php accepts floats with is_numericmethod same thing with Laravel numeric rule but in python isdigits for some reason doesn't accept floats, so I found a solution and made this PR.

@josephmancuso josephmancuso merged commit 9664b4b into MasoniteFramework:4.0 Jul 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants