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

Proposed Enhancement: Extend the Rand function to allow seed, min and max #17

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

bwakabats
Copy link

These are passed as optional parameters. So the Rand function has 4 versions:

  • RAND()
  • RAND(object seed)
  • RAND(int min, int max)
  • RAND(object seed, int min, int max)

I have also added Unit tests

@bwakabats bwakabats changed the title Extend the Rand function to allow seed, min and max Proposed Enhancement: Extend the Rand function to allow seed, min and max Aug 10, 2023
@bwakabats
Copy link
Author

bwakabats commented Aug 14, 2023

This could now be implemented using the external function feature in #19

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.

1 participant