add multipleOf to faker.number.int
Originally posted by @matthewmayer in https://github.com/faker-js/faker/pull/2581#discussion_r1431611815
Similar to faker.number.float, faker.number.int should also support a multipleOf parameter
Personal opinion: I'm not sure if this is needed at all, just for symmetry is not a so good reason :thinking:
We could discuss this in one of the next meetings
I think the main advantage is it could be used in helpers.fake patterns for other methods.
I think the main advantage is it could be used in helpers.fake patterns for other methods.
This is a really good point :+1:
For example in the new food module there was a description like "400g of delicious steak"
A menu might realistically have a 350g or 400g steak but not a 362g steak.
Team Decision
- We want this