Skip to content

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

Merged
chriso merged 3 commits into
validatorjs:masterfrom
linkinmedo:isfloat-locale-decimal
Sep 29, 2017
Merged

add local and decimal options to isDecimal & add local to isFloat#721
chriso merged 3 commits into
validatorjs:masterfrom
linkinmedo:isfloat-locale-decimal

Conversation

@linkinmedo

@linkinmedo linkinmedo commented Sep 9, 2017

Copy link
Copy Markdown
Contributor

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

chriso commented Sep 29, 2017

Copy link
Copy Markdown
Collaborator

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