RandBetween

Generating random number between two

<%
Function RandBetween(LowNumber, HighNumber)
  RANDOMIZE
  RandBetween = Round((HighNumber - LowNumber + 1) * Rnd + LowNumber)
End Function
%>

LowNumber, HighNumber

Views 1524 Downloads 519

''

ANmarAmdeen
448
Math Classic ASP
Revisions

v1.0