RandBetween

Generating random number between two

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

LowNumber, HighNumber

Views 599 Downloads 232

''

ANmarAmdeen
326
Math Classic ASP
Revisions

v1.0