Skip to content
New issue

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

Updated random.Number, added random.WholeNumber #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

The-Lord-of-Owls
Copy link

Added the option to provide a single argument to the random.Number function. Behavior should mimic math.Random when provided a single argument. Purpose: Allowing math.random to be replaced with random.Number interchangeably without running into any annoying issues.

Also added a new function random.WholeNumber, same functionality as random.Number only it does not give a decimal

Added the option to provide a single argument to the random.Number function. Behavior should mimic math.Random when provided a single argument.
Purpose: Allowing math.random to be replaced with random.Number interchangeably without running into any annoying issues.

Also added a new function random.WholeNumber, same functionality as random.Number only it does not give a decimal
@The-Lord-of-Owls
Copy link
Author

Tested both random.Number and random.Whole number with zero, one and two arguments passed.

No issues found and it is behaving as intended. Ready for merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant