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

added IsDecimal function to validator.go, issue #467 #470

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

added IsDecimal function to validator.go, issue #467 #470

wants to merge 2 commits into from

Conversation

doctorhoseinpour
Copy link

@doctorhoseinpour doctorhoseinpour commented Feb 4, 2022

issue #467 add IsDecimal function which returns true if string is null or ParseFloat method does not generate an error. if the string does not contain a "." , the function will return false

@doctorhoseinpour doctorhoseinpour changed the title added IsDecimal function to validator.go issue #467 added IsDecimal function to validator.go Feb 4, 2022
@doctorhoseinpour doctorhoseinpour changed the title issue #467 added IsDecimal function to validator.go added IsDecimal function to validator.go, issue #467 Feb 4, 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.

None yet

1 participant