What version of Ajv are you using? Does the issue happen if you use the latest version?
Latest (v8.17.1)
Ajv options object
Any options.
JSON Schema
Sample data
What results did you expect?
1e21 should validate against multipleOf: 1, but it doesn't.
Are you going to resolve the issue?
Yup: #2562
What version of Ajv are you using? Does the issue happen if you use the latest version?
Latest (v8.17.1)
Ajv options object
Any options.
JSON Schema
{ "multipleOf": 1 }Sample data
1e21What results did you expect?
1e21 should validate against
multipleOf: 1, but it doesn't.Are you going to resolve the issue?
Yup: #2562