How To

How to use RND

0

Eliss 2020-01-01 03:26

I’m very confused on how to use RND if someone could help or give an example the one in the manual isn’t helping me much.


was8bit 2020-01-01 04:01

RND by itself yields a decimal number 0.000 to 0.9999
So RND*10 yield a number 0.0000 to 9.9999

RND(10) with parenthesis yields a whole number 0 to number,
So RND(10) yields one of the following: 0,1,2,3,4,5,6,7,8,9,10



was8bit 2020-01-01 04:02 (Edited)

There are times you will want a decimal result, and other times you will want a whole number result...


G-9 2020-01-01 18:25

It’s RANDOM and ARROUND


Log in to reply.