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

[Validation] Add Float/Real Number Validation #2537

Closed
wants to merge 2 commits into from
Closed

[Validation] Add Float/Real Number Validation #2537

wants to merge 2 commits into from

Conversation

tonnyorg
Copy link
Contributor

@tonnyorg tonnyorg commented Jul 7, 2015

Related to #2438, I just implemented a two validations:

  • float: positive float numbers only (natural numbers)
  • real: any decimal number, positive or negative (real numbers)

Hope it works for you, let me know if you've any feedback.

@jlukic jlukic added this to the 2.0.2 milestone Jul 7, 2015
@jlukic jlukic modified the milestones: 2.0.3, 2.0.2, 2.1 Jul 8, 2015
@jlukic
Copy link
Member

jlukic commented Jul 10, 2015

Shifted this back to 2.1 due to time constraints

@jlukic jlukic changed the title Implemented Float validaton [Validation] Add Float/Real Number Validation Jul 10, 2015
jlukic added a commit that referenced this pull request Aug 17, 2015
@jlukic
Copy link
Member

jlukic commented Aug 17, 2015

I modified your decimal/float regexp to also work with negative numbers and manually merged.

jlukic added a commit that referenced this pull request Aug 17, 2015
@jlukic jlukic closed this Aug 17, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants