Random number assigned never actually use the max range




Random(Number4,0:2:1) Should assign randomly 0,1 or 2. However, 2 is never assigned, in this case, the results are always 0's and 1's and never 2.

Random(Number4,1:3:1) Should assign randomly 1,2 or 3. However, 3 is never assigned, in this case, the results are always 1's and 2's and never 3.



Attachments
Screenshot_114.png
(36.59 KiB)
  • Votes +1
  • Project StrategyQuant X
  • Type Bug
  • Status Fixed
  • Priority Normal

History

b
#1

bentra

24.08.2022 16:46

Task created

b
#2

bentra

24.08.2022 17:11
Voted for this task.
MF
#3

Mark Fric

31.08.2022 10:36

Status changed from New to Fixed

it was configured to generate between min and max, max excluded. fixed

Votes: +1

Drop files to upload

or

choose files

Max size: 5MB

Not allowed: exe, msi, application, reg, php, js, htaccess, htpasswd, gitignore

...
Wait please