Advertisement

1 - 10 of 18 containing alltags:("rnd") (0.001 seconds)
Randomize for i = 1 to 4 iArray(i) = int(rnd * 55) next i Problem Starts: I got a 0 and I can't have zeros I thought rnd * 55 would produce a number form 1 to 55 to get around the 0 I ad...
Zones: Visual BasicDate Answered: 12/06/1999 Grade: A Views: 4
Hello! I'm using a random number generator based upon the record count in a database to draw new data into fields. My problem is that it is sluggish. By that I mean at times I must click the ite...
Zones: ProgrammingDate Answered: 05/26/2004 Grade: A Views: 19
How can I use the rnd or whatever is necesary to create an app that deals the 52 cards that are in a deck with repeting them... and randomly?
Zones: Visual BasicDate Answered: 11/08/2004 Grade: A Views: 0
hi all, IntTemp = Int((255 * Rnd()) + 1) I used above ASP.NET code. Problem is in " Rnd() " Rnd() value is changing everytime. What is the alternative for Rnd()? OR How will stop Rnd() ...
Zones: Web DevelopmentDate Answered: 03/12/2007 Grade: B Views: 541
Hi, I need to pick a number between 1 and X I use : Int(Rnd * x) + 1 This works fine, but, I need to do this 1000's times. I have to make the sum of how many times the number gets chosen. What I...
Zones: Visual BasicDate Answered: 03/16/2002 Grade: A Views: 0
/*Thanks in advance for any help/insight. Am using Borland C++ 4.52*/ #include <stdio.h>          //scanf and printf #include <stdlib.h>         //rand & srand functions #include <time.h>     ...
Zones: CDate Answered: 10/25/2002 Grade: A Views: 0
Access will no recognized the rnd function for me.  Is there something I am missing?  I need to order a set of records, then choose the top few.
Zones: Visual Basic, MS Access, SQL SyntaxDate Answered: 10/05/2007 Grade: A Views: 0
I need to generate a series of random numbers based on a TRIANGULAR DISTRIBUTION. Preference would be not to utilise the inbuilt Rnd function
Zones: Visual BasicDate Answered: 03/28/2000 Grade: A Views: 0
Trying to use the Rnd function to assign a random number to a variable. User enters a number (any whole number 1-100) in a textbox. If the number is >  random number, a label tells them to guess a ...
Zones: Visual BasicDate Answered: 10/28/2000 Grade: A Views: 12
I'm using the RND function discussed on this site many times and my ASP always returns the same number. I know this sounds nuts, but it's always record no. 4269 out of 6051 possible records. Any id...
Zones: ASPDate Answered: 11/13/2000 Grade: A Views: 0