Random() question

hey, is this script still functioning in v2004?

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