We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi . I would like to ask is there a way to generate a random natural number which is a multiple of a specific factor n?
For example:
int factor = 3; NaturalGenerator naturalGenerator = JRand.natural(); naturalGenerator.min(0); naturalGenerator.max(999); //do something with factor int randomMultiple = naturalGenerator.gen();
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi . I would like to ask is there a way to generate a random natural number which is a multiple of a specific factor n?
For example:
The text was updated successfully, but these errors were encountered: