-Original Message-
From: Maurice O'Prey [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 15, 2003 9:28 AM
Hi All
How do I extract a whole number from the rand function.
I am using rand 25000; which generates a random number with
many decimal
places, e.g. 16235.2587965, I
int(rand 25000)
Dylan
-Original Message-
From: Maurice O'Prey [mailto:[EMAIL PROTECTED]]
Sent: January 15, 2003 10:28 AM
To: [EMAIL PROTECTED]
Subject: Random Number Generation
Hi All
How do I extract a whole number from the rand function.
I am using rand 25000; which generates a
On Wednesday, January 15, 2003, at 08:28 AM, Maurice O'Prey wrote:
How do I extract a whole number from the rand function.
int() is your friend, if you want an integer from rand.
I am using rand 25000; which generates a random number with many
decimal
places, e.g. 16235.2587965, I need a
On Saturday 04 August 2001 18:35, . wrote:
Another thing that I notice the llama book fails to mention is random
number generation. Is this possible in Perl? (More specifically in a CGI
script.)
could also look at Math::TrulyRandom or Math::Random
--
To unsubscribe, e-mail: [EMAIL
$num=(int(rand 35));
There is probably a more random way to do it, but this is what i know...
-Original Message-
From: Mark Rowlands [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 06, 2001 2:59 AM
To: .; Beginners (E-mail)
Subject: Re: Random Number Generation
On Saturday 04 August
On 8/5/01 10:12 AM, Brian wrote:
Okay guys, can we PLEASE not post messages to both the beginners and the
beginners-cgi lists? I'm on both, and I know that lots of the people
out there are on both. So, we end up with 2 copies of each message.
Plus, if you have your filters set up stupid
. wrote:
Are you sure it's the llama book, not the camel? Either way, blue or pink?
- Original Message -
From: Mike Rodgers [EMAIL PROTECTED]
To: . [EMAIL PROTECTED]
Sent: Saturday, August 04, 2001 6:55 AM
Subject: Re: Random Number Generation
. wrote:
Another thing