0

Tran Duy Hoang 2019-07-02 03:31

CAn anyone tell me how to create a random number from n to x ?

e.x:a random number from 1 to 100,from 5 to 50...

was8bit 2019-07-02 05:54 (Edited)

I=INT(RND*100)+1

I=INT(RND*46)+5

INT(RND*N) = 0 to (N-1)

was8bit 2019-07-02 05:55

In the next update, we will have an easier RND expression available :)

was8bit 2019-07-02 05:58

Or...

From V1 to V2

I=INT(RND*(V2-V1+1))+V1

Tran Duy Hoang 2019-07-03 01:52

Thank was8bit !

was8bit 2019-07-03 04:28

Glad to help :D

Log in to reply.