by Walter Eigner (15 Submissions)
Category: Math/Dates
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Tue 2nd December 2003
Date Added: Mon 8th February 2021
Rating: (1 Votes)
A randomize function that allows you to specify the high and low number.
Dim randomNumber
Dim theRand
theRand = Math.Rnd()
randomNumber = theRand * (highNum - (lowNum))
randomNumber = randomNumber + lowNum
rand = Math.Round(randomNumber)
End Function
No comments have been posted about A randomize function that allows you to specify the high and low number.. Why not be the first to post a comment about A randomize function that allows you to specify the high and low number..