Generate a random number from a range min - max numbers how do?

@ulrich @Timo @thecoder2012 @Plankton

What i can do a random javascript to generate a random number from 50 to 100 ?

I need to set min value and max value.

With executeScript_Sandbox i can genererate a randon number from 0

return Math.floor(Math.random()*11)

Random number between 0 and 10

How can I convert this to have a min value to start and a max value to choice random numbers ?


return Math.floor(50 + Math.random()*50) => random number between 50…100

1 Like

Working like a charm, thanks