In Microsoft BASIC, the RND function returns a random number between 0 and 1.