Ask a Question related to Macromedia Dynamic HTML, Design and Development.
-
drew712 #1
Random Number in While Loop
I'm just curious on how to use this format:
RandNumb = Math.random()
RandNumb = Math.round(RandNumber * 5)
using this, i want the while loop to keep generating random numbers until it
generates the random number 5, then have it terminate and have a
document.write("Loop terminated because Random Number 5 was generated")
Any suggestions on how to work this?
drew712 Guest
-
Random Number
because i don't want on store a long number into the database. i used #right(CreateUUID(), 5)#, don't you think it will get the duplicated? -
random number between x and y
how is it possible to get a random number between x and y? in know int(rand(10)) returns an integer between 0 and 9, but how do i get it so that i... -
Random Number Question
How do I get perl to chose a random number from a range (1-13) and export it to a numeric variable? Any help would be appreciated. -
Random number for ASP
Do you mean a random integer (-1, 0, or 1) or any real number >= -1 and <= 1? "Ricardo" <renetm2003@yahoo.com> wrote in message... -
Random Number Function?
Hi, Lookup Rnd in Help. -- HTH Dan Artuso, Access MVP "Barry Skidmore" <skidmore@worldvenue.org> wrote in message...



Reply With Quote

