Skip to content

Multiple doesn't work correct #2962

Closed
@KgTeKoN

Description

@KgTeKoN

When I try to validate 14400000 as a multiple of 3600000 (14400000 / 3600000 = 4) I get an error.
But this validation Joi.number().min(14400000).multiple(3600).multiple(1000).required() works correct.
image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugBug or defectsupportQuestions, discussions, and general support

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions