Skip to content

Error message for multipleOf no longer shows decimal places #468

@PeterMead

Description

@PeterMead

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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions