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

how to validate float values #142

Open
taghaniali opened this issue May 2, 2016 · 4 comments
Open

how to validate float values #142

taghaniali opened this issue May 2, 2016 · 4 comments

Comments

@taghaniali
Copy link

Hi,
i want to use regular expression for validating float values, but it dose not validate this type of value.
what is the problem?

@taghaniali
Copy link
Author

The regular expression i use is as follow :
regex:/^\d*(.\d{2})?$/

@lazychaser
Copy link
Contributor

Use numeric validation rule

@taghaniali
Copy link
Author

numeric validation does not work too. first i used numeric validation but
it does not validate value of a float field

On Mon, May 2, 2016 at 6:04 PM, Alexander Kalnoy notifications@github.com
wrote:

Use numeric validation rule


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#142 (comment)

Regards,
Taghani Ali.

@taghaniali
Copy link
Author

actually, numeric validation works only on string fields not on float field types

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

No branches or pull requests

2 participants