Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

feat: randomInt support third argument #150

Merged
merged 3 commits into from
Dec 29, 2021
Merged

Conversation

maco
Copy link
Contributor

@maco maco commented Oct 21, 2021

The documentation on randomInt was confusing and said it could accept a third parameter. In reality, it threw an error if you gave a third parameter. This change makes that third parameter work and rewords the documentation.

("Number of digits" suggested that it was about 1-digit numbers like 7 versus 3-digit numbers like 152. It's about the minimum integer and maximum integer, though, so I changed the docs and variable names to reflect that.)

Copy link
Owner

@bxcodec bxcodec left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bxcodec bxcodec merged commit f5a6782 into bxcodec:master Dec 29, 2021
@bxcodec bxcodec changed the title fix docs for randomInt and update code to support documented third argument feat: randomInt support third argument Dec 29, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants