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

Error message for multipleOf no longer shows decimal places #468

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

Error message for multipleOf no longer shows decimal places #468

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

Comments

@PeterMead
Copy link

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

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

Prior to v5.2.0s, and specifically #364, the error message was:
"Must be a multiple of 0.01"

It is now:
"Must be a multiple of 0"

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