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

False negatives with real values of multipleOf #469

Closed
PeterMead opened this issue Nov 28, 2017 · 0 comments · Fixed by #470
Closed

False negatives with real values of multipleOf #469

PeterMead opened this issue Nov 28, 2017 · 0 comments · Fixed by #470

Comments

@PeterMead
Copy link

I use the multipleOf property to limit numbers to two decimal places. For example:

"turnover": {
"type": "number",
"multipleOf": 0.01
}

When passed a value of 5000000 it fails the constraint and returns an error. That number is valid for the constraint so this is a false negative.

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 a pull request may close this issue.

1 participant