MkRnd Function:

The MkRnd function creates a random number of a specified length. The required argument, length specifies how many digits the random number should have.

Syntax:
long = MkRnd(length)
Example Usage:
Create a random 10 digit number.
<%  =  MkRnd( 10 )  %>
ASP Source Code:
<%
Private Function MkRnd(byVal length)
	Dim i, tmp
	For i = 1 to CInt( length )
		Randomize
		tmp = tmp & CInt(Rnd*9)
	Next
	MkRnd = StrReverse( tmp )
End Function
%>