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

add local and decimal options to isDecimal & add local to isFloat #721

Merged
merged 3 commits into from
Sep 29, 2017

Conversation

linkinmedo
Copy link
Contributor

@linkinmedo linkinmedo commented Sep 9, 2017

Add locale to isDecimal, and add decimal options to isDecimal, this fixes #685 , and might mean there is no need for #686 .

Add the locale-aware decimal to isFloat and fix #547 .

@linkinmedo linkinmedo changed the title add local decimal separator to isDecimal add local and decimal options to isDecimal & add local to isFloat Sep 9, 2017
@chriso chriso merged commit b61882f into validatorjs:master Sep 29, 2017
@chriso
Copy link
Collaborator

chriso commented Sep 29, 2017

Awesome work, thanks!

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.

add option to check number of digits after decimal point in "isDecimal" Locale-aware validation in isFloat()
3 participants