Random() question

hey, is this script still functioning in v2004?

Math.floor(Math.random() * (high - low)) + low;

i just tried using

random(number)

and it worked.

i don’t know, maybe it just generated a number or something. thanks guys!