expression-evaluator-c-sharp icon indicating copy to clipboard operation
expression-evaluator-c-sharp copied to clipboard

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

Open bwakabats opened this issue 1 year ago • 1 comments

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 avatar Aug 09 '23 08:08 bwakabats

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

bwakabats avatar Aug 14 '23 21:08 bwakabats